Click or drag to resize
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.IntegrationApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
IFileTypeDefinition CreateFromResource(
	string path
)

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
Community
Edit

Be the first to Edit the community content of this topic.
Comments