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

In This Topic
    AddSimpleField(String,String) Method
    In This Topic
    Adds a SimpleField to the end of the current control content.
    Syntax
    'Declaration
     
    Public Overloads Function AddSimpleField( _
       ByVal code As System.String, _
       ByVal result As System.String _
    ) As SimpleField
    public SimpleField AddSimpleField( 
       System.string code,
       System.string result
    )

    Parameters

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

    Return Value

    The added SimpleField.
    See Also