다음을 통해 공유


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

Return Value

Type: System.Boolean
true if the option is applicable to the specified scope, otherwise false.

.NET Framework Security

See Also

Reference

ViewOptionDefinition<T> Class

Microsoft.VisualStudio.Text.Editor Namespace