Documents for Word .NET Edition
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / StyleCollection Class / Contains Method
The style name to check.

In This Topic
    Contains Method (StyleCollection)
    In This Topic
    Checks whether this collection contains a style with a specified name.
    Syntax
    'Declaration
     
    Public Function Contains( _
       ByVal name As System.String _
    ) As System.Boolean
    public System.bool Contains( 
       System.string name
    )

    Parameters

    name
    The style name to check.

    Return Value

    True if the collection contains a style with the specified name or alias, false otherwise.
    See Also