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

In This Topic
    Add(String,String) Method
    In This Topic
    Adds a SimpleField to this collection at the InsertLocation.End position.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal code As System.String, _
       ByVal result As System.String _
    ) As SimpleField
    public SimpleField Add( 
       System.string code,
       System.string result
    )

    Parameters

    code
    The field code.
    result
    The result text of the inserted field.

    Return Value

    The added SimpleField.
    See Also