This document is archived and information here might be outdated. Recommended version. |
The number of items in the SymbologyStyleClass.
[Visual Basic .NET]
Public Function get_ItemCount ( _
[ByVal StyleCategory As Object] _
) As Integer
[C#]
public int get_ItemCount (
object StyleCategory
);
[C++]
HRESULT get_ItemCount(
VARIANT StyleCategory,
System.Int32* Count
);
[C++] Parameters StyleCategory [in, optional]
StyleCategory is a parameter of type VARIANT
To indicate this parameter is undefined pass in a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND. Count [out, retval]
Count is a parameter of type long*
Returns the number of items in the SymbologyStyleClass.
Pass a StyleCategory to return the number of items in a SymbologyStyleClass with the specified IStyleGalleryItem::Category. The StyleCategory passed is case sensitive.
The ItemCount property will force any items to be loaded into a SymbologyStyleClass even when it is not the current StyleClass.
In C# use the get_ItemCount method, as indexed property accessors are not supported.