C# Класс ExoMerge.Aspose.Common.InlineField

A class used to represent a field which resides within a single composite (i.e. paragraph) node.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
FindMatchingEnd ( FieldStart start ) : FieldEnd

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

InlineField ( FieldStart start ) : System.Collections.Generic

Описание методов

Create() публичный статический Метод

Create an inline field for the given field start node.
public static Create ( FieldStart start ) : InlineField
start FieldStart
Результат InlineField

GetCode() публичный Метод

Gets the code of the field, e.g. " MERGEFIELD MyField ".
public GetCode ( ) : string
Результат string

GetEnd() публичный Метод

Gets the field end node.
public GetEnd ( ) : FieldEnd
Результат FieldEnd

GetNodes() публичный Метод

Gets the node that make up the inline field.
public GetNodes ( ) : IEnumerable
Результат IEnumerable

IsValid() публичный Метод

Determines if the field is a valid inline field.
public IsValid ( ) : bool
Результат bool

TryParse() публичный статический Метод

Attempt to create an inline field for the given start field.
public static TryParse ( FieldStart start, InlineField &field ) : bool
start FieldStart
field InlineField
Результат bool