This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IS > IShields Interface > IShields.AddShield Method (ArcObjects .NET 10.4 SDK) |
Adds a shield of the given type.
[Visual Basic .NET] Public Sub AddShield ( _ ByVal Type As String, _ ByVal Description As String _ )
[C#] public void AddShield ( string Type, string Description );
[C++]
HRESULT AddShield(
BSTR Type,
BSTR Description
);
[C++]
Parameters Type [in] Type is a parameter of type BSTR Description [in] Description is a parameter of type BSTR
The AddShield method should be used to add ShieldType, ShieldDescription pairs. When Directions are generated, the ShieldType value will be replaced by it's corresponding ShieldDescription. Examples of ShieldType and ShieldDescription pairs include:
ShieldType | ShieldDescription |
---|---|
I | Interstate |
S | State |
T | Trans Canada |