Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / CustomXmlPartCollection Class / TryGetValue Method
The custom xml part id.
When this method returns true, contains the custom xml part with the specified id, or null otherwise.

In This Topic
    TryGetValue Method (CustomXmlPartCollection)
    In This Topic
    Tries to get a custom xml part from the collection by its id.
    Syntax
    'Declaration
     
    Public Function TryGetValue( _
       ByVal id As System.String, _
       ByRef customXmlPart As CustomXmlPart _
    ) As System.Boolean
    public System.bool TryGetValue( 
       System.string id,
       out CustomXmlPart customXmlPart
    )

    Parameters

    id
    The custom xml part id.
    customXmlPart
    When this method returns true, contains the custom xml part with the specified id, or null otherwise.

    Return Value

    True if the custom xml part with the specified id was found, false otherwise.
    See Also