This document is archived and information here might be outdated.  Recommended version.


IShields.ShieldType Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IShields.ShieldType Property

The shield type by index.

[Visual Basic .NET]
Public Function get_ShieldType ( _
    ByVal Index As Integer _
) As String
[C#]
public string get_ShieldType (
    int Index
);
[C++]
HRESULT get_ShieldType(
  long Index,
  System.String* Type
);
[C++]

Parameters Index [in]
Index is a parameter of type long Type [out, retval]
Type is a parameter of type BSTR*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

Returns the ShieldType value specified by the index.  The ShieldType is added with the AddShield method.  Examples of ShieldType and ShieldDescriptions pairs include:

ShieldType ShieldDescription
I Interstate
S State
T Trans Canada

See Also

IShields Interface