Message-ID: <1279912702.8633.1711652794012.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8632_1990398803.1711652794012" ------=_Part_8632_1990398803.1711652794012 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Styles.Item(String)

Styles.Item(String)

Description

Returns a=20 NamedStyle object that represents t= he named style that has the specified string version of its name.=20
C#
=20
public NamedStyle this[System.String name] { ge=
t; }
=20
=20
vb.net
=20
Public Default ReadOnly Property Item(ByVal name=
 As String) As NamedStyle
=20

Parameters

=20
name
An=20 String that represents the name of the style's name to retriev= e.=20

Returns

A=20 NamedStyle object that represents the named style that has the= specified string version of its name or the specified index.=20

Examples

=20
C#
=20
          //--- Get Style by name
          NamedStyle myStyle =3D styls["MyStyle"];

          //--- Get Style by ID
          NamedStyle styleZero =3D styls[0];
        
=20
vb.net
=20
          '--- Get Style by name
          Dim myStyle As NamedStyle =3D styls.Item("MyStyle")

          '--- Get Style by ID
          Dim styleZero As NamedStyle =3D styls.Item(0)
        
=20
------=_Part_8632_1990398803.1711652794012--