| IFileTypeDefinitionFactoryCreateFromResource Method |
Create a file type definition from the specified path or resource, without adapting the
content to support older file type definitions.
Namespace: Sdl.FileTypeSupport.Framework.IntegrationApiAssembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2343.0)
SyntaxIFileTypeDefinition CreateFromResource(
string path
)
Function CreateFromResource (
path As String
) As IFileTypeDefinition
IFileTypeDefinition^ CreateFromResource(
String^ path
)
abstract CreateFromResource :
path : string -> IFileTypeDefinition
Parameters
- path
- Type: SystemString
Return Value
Type:
IFileTypeDefinition[Missing <returns> documentation for "M:Sdl.FileTypeSupport.Framework.IntegrationApi.IFileTypeDefinitionFactory.CreateFromResource(System.String)"]
Remarks
The path can be any type of path that is supported by the factory implementation.
The default factory implementation supports, for example:
- A file on disk: C:\My Documents\MyFileType.sdlfiletype
- An embedded resource in an assembly: assembly://MyAssembly/ResourceNamespace/ResourceId
- A URI: http://my.company.com/my-filetype-definition
No detection and adaptation of older file type definitions will be attempted when using this factory method.
See Also
Comments