C# Class ExoMerge.Aspose.MergeFields.MergeField

A class used to attempt to parse field nodes as a MERGEFIELD.
Inheritance: ExoMerge.Aspose.Common.InlineField
Show file Open project: vc3/ExoMerge Class Usage Examples

Public Methods

Method Description
TryParse ( FieldStart start, MergeField &field ) : bool

Attempts to parse a field, starting at the given field start node, as a merge field. If the field is not well formed, then an exception is thrown. If the field is not a merge field, then the return value will be false, indicating that the input data was valid but could not be parsed as a merge field.

Private Methods

Method Description
MergeField ( FieldStart start ) : System.Text.RegularExpressions

Method Details

TryParse() public static method

Attempts to parse a field, starting at the given field start node, as a merge field. If the field is not well formed, then an exception is thrown. If the field is not a merge field, then the return value will be false, indicating that the input data was valid but could not be parsed as a merge field.
public static TryParse ( FieldStart start, MergeField &field ) : bool
start FieldStart
field MergeField
return bool