Click or drag to resize
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.Formatting
Assembly: Sdl.FileTypeSupport.Framework.Core.Utilities (in Sdl.FileTypeSupport.Framework.Core.Utilities.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
public virtual IFormattingItem CreateFormattingItem(
	string name,
	string value
)

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: IFormattingItem
a new formatting item instance

Implements

IFormattingItemFactoryCreateFormattingItem(String, String)
See Also
Community
Edit

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