DifferenceBufferOption<T>.IsApplicableToScope Method
Determines whether this option is applicable to the given scope.
Namespace: Microsoft.VisualStudio.Text.Differencing
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.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 to which to apply the option.
Return Value
Type: Boolean
true if the option is applicable, 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.