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

In This Topic
    AddSimpleField(String,String) Method
    In This Topic
    Adds a SimpleField to the end of the paragraph.
    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 inserted field.

    Return Value

    The added SimpleField.
    See Also