ViewOptionDefinition<T>.IsApplicableToScope Method
Determines whether the option is applicable to the specified scope.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
‘선언
Public Overrides Function IsApplicableToScope ( _
scope As IPropertyOwner _
) As Boolean
public override bool IsApplicableToScope(
IPropertyOwner scope
)
public:
virtual bool IsApplicableToScope(
IPropertyOwner^ scope
) override
abstract IsApplicableToScope :
scope:IPropertyOwner -> bool
override IsApplicableToScope :
scope:IPropertyOwner -> bool
public override function IsApplicableToScope(
scope : IPropertyOwner
) : boolean
Parameters
- scope
Type: Microsoft.VisualStudio.Utilities.IPropertyOwner
The scope.
Return Value
Type: System.Boolean
true if the option is applicable to the specified scope, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.