共用方式為


ViewOptionDefinition<T>.IsApplicableToScope(IPropertyOwner) Method

Definition

Determines whether the option is applicable to the specified scope.

public:
 override bool IsApplicableToScope(Microsoft::VisualStudio::Utilities::IPropertyOwner ^ scope);
public:
 override bool IsApplicableToScope(Microsoft::VisualStudio::Utilities::IPropertyOwner ^ scope);
 override bool IsApplicableToScope(Microsoft::VisualStudio::Utilities::IPropertyOwner const & scope);
public override bool IsApplicableToScope (Microsoft.VisualStudio.Utilities.IPropertyOwner scope);
override this.IsApplicableToScope : Microsoft.VisualStudio.Utilities.IPropertyOwner -> bool
Public Overrides Function IsApplicableToScope (scope As IPropertyOwner) As Boolean

Parameters

scope
IPropertyOwner

The scope.

Returns

true if the option is applicable to the specified scope, otherwise false.

Applies to