Returns a NamedStyle object that represents the named style that has the specified ID.
public NamedStyle this[int index] { get; }
<p>Public Default ReadOnly Property Item(ByVal index As Integer) As NamedStyle</p>
An int that represents the ID of the style to retrieve.
int
A NamedStyle object that represents the named style that has the specified index.
NamedStyle
//--- Get Style by name NamedStyle myStyle = styls["MyStyle"]; //--- Get Style by ID NamedStyle styleZero = styls[0];
'--- Get Style by name Dim myStyle As NamedStyle = styls.Item("MyStyle") '--- Get Style by ID Dim styleZero As NamedStyle = styls.Item(0)