Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / SimpleFieldCollection Class / Insert Method / Insert(IFieldOptions,InsertLocation) Method
The field code.
The target InsertLocation for the insertion.

In This Topic
    Insert(IFieldOptions,InsertLocation) Method
    In This Topic
    Inserts a SimpleField into this collection at a specified location.
    Syntax
    'Declaration
     
    Public Overloads Function Insert( _
       ByVal options As IFieldOptions, _
       ByVal location As InsertLocation _
    ) As SimpleField
    public SimpleField Insert( 
       IFieldOptions options,
       InsertLocation location
    )

    Parameters

    options
    The field code.
    location
    The target InsertLocation for the insertion.

    Return Value

    The inserted SimpleField.
    See Also