StyleBase.Item[] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an item from the collection.
Overloads
Item[Int32] |
Returns a style at the specified index. |
Item[String] |
Returns a style matching the specified name. |
Item[Int32]
Returns a style at the specified index.
public:
property System::Object ^ default[int] { System::Object ^ get(int index); };
public object this[int index] { get; }
member this.Item(int) : obj
Default Public ReadOnly Property Item(index As Integer) As Object
Parameters
- index
- Int32
The index of the style to retrieve.
Property Value
An object
containing the style at the specified index.
Applies to
Item[String]
Returns a style matching the specified name.
public:
abstract property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ styleName); };
public abstract object this[string styleName] { get; }
member this.Item(string) : obj
Default Public MustOverride ReadOnly Property Item(styleName As String) As Object
Parameters
- styleName
- String
The name of the style to retrieve.
Property Value
An object
containing the style matching the specified name.