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


IShields.AddShield Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IShields.AddShield Method

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

Product Availability

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

Remarks

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

See Also

IShields Interface