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

In This Topic
    Insert(String,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 result As System.String, _
       ByVal location As InsertLocation _
    ) As SimpleField
    public SimpleField Insert( 
       System.string code,
       System.string result,
       InsertLocation location
    )

    Parameters

    code
    The field code.
    result
    The result text of the inserted field.
    location
    The target InsertLocation for the insertion.

    Return Value

    The inserted SimpleField.
    See Also