C# Class ExoMerge.Aspose.Common.InlineField

A class used to represent a field which resides within a single composite (i.e. paragraph) node.
Afficher le fichier Open project: vc3/ExoMerge Class Usage Examples

Méthodes publiques

Méthode Description
Create ( FieldStart start ) : InlineField

Create an inline field for the given field start node.

GetCode ( ) : string

Gets the code of the field, e.g. " MERGEFIELD MyField ".

GetEnd ( ) : FieldEnd

Gets the field end node.

GetNodes ( ) : IEnumerable

Gets the node that make up the inline field.

IsValid ( ) : bool

Determines if the field is a valid inline field.

TryParse ( FieldStart start, InlineField &field ) : bool

Attempt to create an inline field for the given start field.

Private Methods

Méthode Description
FindMatchingEnd ( FieldStart start ) : FieldEnd

Find the FieldEnd node that matches the field's start node.

InlineField ( FieldStart start ) : System.Collections.Generic

Method Details

Create() public static méthode

Create an inline field for the given field start node.
public static Create ( FieldStart start ) : InlineField
start FieldStart
Résultat InlineField

GetCode() public méthode

Gets the code of the field, e.g. " MERGEFIELD MyField ".
public GetCode ( ) : string
Résultat string

GetEnd() public méthode

Gets the field end node.
public GetEnd ( ) : FieldEnd
Résultat FieldEnd

GetNodes() public méthode

Gets the node that make up the inline field.
public GetNodes ( ) : IEnumerable
Résultat IEnumerable

IsValid() public méthode

Determines if the field is a valid inline field.
public IsValid ( ) : bool
Résultat bool

TryParse() public static méthode

Attempt to create an inline field for the given start field.
public static TryParse ( FieldStart start, InlineField &field ) : bool
start FieldStart
field InlineField
Résultat bool