| FormattingItemFactoryCreateFormattingItem Method |
Default implementation, which compares the name against all known formatting types,
instantiates a corresponding object, and sets its value from the string.
Namespace: Sdl.FileTypeSupport.Framework.Core.Utilities.FormattingAssembly: Sdl.FileTypeSupport.Framework.Core.Utilities (in Sdl.FileTypeSupport.Framework.Core.Utilities.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntaxpublic virtual IFormattingItem CreateFormattingItem(
string name,
string value
)
Public Overridable Function CreateFormattingItem (
name As String,
value As String
) As IFormattingItem
public:
virtual IFormattingItem^ CreateFormattingItem(
String^ name,
String^ value
)
abstract CreateFormattingItem :
name : string *
value : string -> IFormattingItem
override CreateFormattingItem :
name : string *
value : string -> IFormattingItem Parameters
- name
- Type: SystemString
formatting name, should be the FormattingName for
a known format type, or anything else for an UnknownFormatting. - value
- Type: SystemString
String representation of the value associated with the formatting item; should
be equivalent to the StringValue property for the item.
Return Value
Type:
IFormattingItema new formatting item instance
Implements
IFormattingItemFactoryCreateFormattingItem(String, String)
See Also
Comments