次の方法で共有


WpfViewOptionDefinition<T>.IsApplicableToScope Method

Determines whether this definition is applicable only to text views.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.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 scope is an IWpfTextView, otherwise false.

.NET Framework Security

See Also

Reference

WpfViewOptionDefinition<T> Class

Microsoft.VisualStudio.Text.Editor Namespace