This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalystUI > ESRI.ArcGIS.NetworkAnalystUI > Interfaces > IN > INAWindowCommand Interface > INAWindowCommand.Applies Method (ArcObjects .NET 10.5 SDK) |
Indicates if a network analysis layer and category is supported.
[Visual Basic .NET] Public Function Applies ( _ ByVal naLayer As INALayer, _ ByVal Category As INAWindowCategory _ ) As Boolean
[C#] public bool Applies ( INALayer naLayer, INAWindowCategory Category );
The Applies method returns whether or not the command should be exposed on the context menu specified by the input NALayer and NAWindowCategory.