Gets a particular style from the collection.

GetItem(String)

public InlineStyle GetItem(string styleName);
Public Function GetItem(ByVal styleName As String) As InlineStyle

Parameters

Parameter Description
styleName Specifies the name of the style.

Return Value

The return value is null, if a style with the specified name is not contained in the collection. Otherwise it is an object of the type InlineStyle.