Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / CustomPropertyCollection Class / Add Method / Add(String,String) Method
The name of the document property.
The value for the document property.

In This Topic
    Add(String,String) Method
    In This Topic
    Adds a document property of the PropertyType.String data type into the collection.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal name As System.String, _
       ByVal value As System.String _
    ) As DocumentProperty
    public DocumentProperty Add( 
       System.string name,
       System.string value
    )

    Parameters

    name
    The name of the document property.
    value
    The value for the document property.

    Return Value

    A DocumentProperty object that represents the new property.
    See Also