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
- scope
Type: Microsoft.VisualStudio.Utilities.IPropertyOwner
The scope
Return Value
Type: System.Boolean
true if scope is an IWpfTextView, 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.