Share via


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

'Declaration
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: 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