This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalystUI > ESRI.ArcGIS.NetworkAnalystUI > Interfaces > IN > INAWindowCommand2 Interface > INAWindowCommand2.AppliesToGroup Method (ArcObjects .NET 10.4 SDK) |
Indicates if a network analysis layer and category or category group is supported.
[Visual Basic .NET] Public Function AppliesToGroup ( _ ByVal naLayer As INALayer, _ ByVal categoryGroup As INAWindowCategoryGroup _ ) As Boolean
[C#] public bool AppliesToGroup ( INALayer naLayer, INAWindowCategoryGroup categoryGroup );
The AppliesToGroup method returns whether or not the command should be exposed on the context menu specified by the input NALayer and NAWindowCategoryGroup. If it applies it will appear on the context menu for the category group or an item in a group.