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


INAWindowCommand.Applies Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalystUI > ESRI.ArcGIS.NetworkAnalystUI > Interfaces > IN > INAWindowCommand Interface > INAWindowCommand.Applies Method
ArcGIS Developer Help

INAWindowCommand.Applies Method

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
);

Product Availability

Available with ArcGIS Desktop. Requires Network Analyst Extension.

Remarks

The Applies method returns whether or not the command should be exposed on the context menu specified by the input NALayer and NAWindowCategory.

See Also

INAWindowCommand Interface