| IFormattingItemFactoryCreateFormattingItem Method |
Instantiates the most appropriate formatting item derived class
and initializes it with the specified value.
Namespace: Sdl.FileTypeSupport.Framework.FormattingAssembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
SyntaxIFormattingItem CreateFormattingItem(
string name,
string value
)
Function CreateFormattingItem (
name As String,
value As String
) As IFormattingItem
IFormattingItem^ CreateFormattingItem(
String^ name,
String^ value
)
abstract CreateFormattingItem :
name : string *
value : string -> IFormattingItem
Parameters
- name
- Type: SystemString
- value
- Type: SystemString
Return Value
Type:
IFormattingItem[Missing <returns> documentation for "M:Sdl.FileTypeSupport.Framework.Formatting.IFormattingItemFactory.CreateFormattingItem(System.String,System.String)"]
Remarks
Compares the name against all known formatting types. If it matches
one exactly, that type is created; otherwise an
UnknownFormatting object
is used instead.
See Also
Comments