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

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

    Parameters

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

    Return Value

    The inserted SimpleField.
    See Also