Documents for Word .NET Edition
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / DocumentPropertyCollection Class / TryGetValue Method
The case-insensitive name of the property.
When this method returns, contains the property with the specified name, if the property with specified name is found; otherwise, null.

In This Topic
    TryGetValue Method (DocumentPropertyCollection)
    In This Topic
    Gets a document property by the case-insensitive name.
    Syntax
    'Declaration
     
    Public Function TryGetValue( _
       ByVal name As System.String, _
       ByRef property As DocumentProperty _
    ) As System.Boolean
    public System.bool TryGetValue( 
       System.string name,
       out DocumentProperty property
    )

    Parameters

    name
    The case-insensitive name of the property.
    property
    When this method returns, contains the property with the specified name, if the property with specified name is found; otherwise, null.

    Return Value

    true if the collection contains a property with the specified name; otherwise, false.
    See Also