| MatrixDataProviderExtensionOverrideMatrixData Method |
Allows overriding matrix data (Revisions, CustomScopes) for files when the CT Core
is about to read and cache it. Enables custom data sourcing for Revisions and CustomScopes.
Namespace:
CTExtensions.Interfaces
Assembly:
CTInterface (in CTInterface.dll)
Syntax public virtual bool OverrideMatrixData(
string bsFilename,
string bsConfiguration,
ctPropertyScope eScope,
string bsData,
ref string pbsOverriddenData
)
Public Overridable Function OverrideMatrixData (
bsFilename As String,
bsConfiguration As String,
eScope As ctPropertyScope,
bsData As String,
ByRef pbsOverriddenData As String
) As Boolean
Parameters
- bsFilename
- Type: SystemString
File name - bsConfiguration
- Type: SystemString
Configuration Name, or empty for Document Properties - eScope
- Type: ctPropertyScope
Scope of the matrix data. Should be ctPropertyScopeRevision, or one of ctPropertyScopeCustom1 to ctPropertyScopeCustom4. - bsData
- Type: SystemString
Original stored data - pbsOverriddenData
- Type: SystemString
Overridden data; must return true to use. Use MatrixDataProviderExtensionMatrixData to help with correct data formation.
Return Value
Type:
BooleanReturn true to use
pbsOverriddenData; false to ignore.
Availability See Also