[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.StyleCollection.Contains

Contains Method

Contains(string)

Checks whether this collection contains a style with a specified name.

Declaration
public bool Contains(string name)
Parameters
Type Name Description
string name

The style name to check.

Returns
Type Description
bool

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