| IFileTypeManagerCreateFileTypeDefinition Method (String, FileTypeProfile) |
Creates a file type definition based on the Id and a profile override.
The FilterManager must discover the actual component builder associated with this definition and create a new definition based on it.
If a profileOverride has been supplied, then this should override the FileTypeInformation for that definition.
Namespace: Sdl.FileTypeSupport.Framework.IntegrationApiAssembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
SyntaxIFileTypeDefinition CreateFileTypeDefinition(
string fileTypeDefinitionId,
FileTypeProfile profileOverride
)
Function CreateFileTypeDefinition (
fileTypeDefinitionId As String,
profileOverride As FileTypeProfile
) As IFileTypeDefinition
IFileTypeDefinition^ CreateFileTypeDefinition(
String^ fileTypeDefinitionId,
FileTypeProfile^ profileOverride
)
abstract CreateFileTypeDefinition :
fileTypeDefinitionId : string *
profileOverride : FileTypeProfile -> IFileTypeDefinition
Parameters
- fileTypeDefinitionId
- Type: SystemString
ID of component builder which should be used to create this filter - profileOverride
- Type: Sdl.FileTypeSupport.Framework.IntegrationApiFileTypeProfile
profile used to override the FileTypeInformation
Return Value
Type:
IFileTypeDefinitionThe created IFileTypeDefinitionInstance
See Also
Comments