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


INAWindowCommand.Applies Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalystUI)  

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