Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / ComplexFieldCollection Class / Add Method
The complex field code.
The result text of the added field.

In This Topic
    Add Method (ComplexFieldCollection)
    In This Topic
    Adds a ComplexField to this collection.
    Syntax
    'Declaration
     
    Public Function Add( _
       ByVal code As System.String, _
       Optional ByVal result As System.String _
    ) As ComplexField
    public ComplexField Add( 
       System.string code,
       System.string result
    )

    Parameters

    code
    The complex field code.
    result
    The result text of the added field.

    Return Value

    The added ComplexField.
    See Also