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

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

    Parameters

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

    Return Value

    The inserted ComplexField.
    See Also