Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / FieldCodeCollection Class / Insert Method
The field code to insert.
The FieldCode object before which to insert the new one. If this parameter is null, the new code will be added to the end of the collection.

In This Topic
    Insert Method (FieldCodeCollection)
    In This Topic
    Inserts a FieldCode into this collection before another field code.
    Syntax
    'Declaration
     
    Public Function Insert( _
       ByVal code As System.String, _
       ByVal before As FieldCode _
    ) As FieldCode
    public FieldCode Insert( 
       System.string code,
       FieldCode before
    )

    Parameters

    code
    The field code to insert.
    before
    The FieldCode object before which to insert the new one. If this parameter is null, the new code will be added to the end of the collection.

    Return Value

    The inserted FieldCode.
    See Also