Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / DocumentPropertyCollection Class / Contains Method
A property name to check.

In This Topic
    Contains Method (DocumentPropertyCollection)
    In This Topic
    Gets whether a property with specified name exists in the document.
    Syntax
    'Declaration
     
    Public Function Contains( _
       ByVal name As System.String _
    ) As System.Boolean
    public System.bool Contains( 
       System.string name
    )

    Parameters

    name
    A property name to check.

    Return Value

    true if a property with specified name exists in the document, otherwise false.
    See Also