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

In This Topic
    Add(String,Int32) Method
    In This Topic
    Adds a document property of the PropertyType.Number data type into the collection.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal name As System.String, _
       ByVal value As System.Integer _
    ) As DocumentProperty
    public DocumentProperty Add( 
       System.string name,
       System.int 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