DifferenceViewerOption<T>.IsApplicableToScope Method
Determines whether this option is applicable to the specified scope.
Namespace: Microsoft.VisualStudio.Text.Differencing
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
scope
Type: Microsoft.VisualStudio.Utilities.IPropertyOwnerThe scope.
Return Value
Type: Boolean
true if the option is applicable to the 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.