DataParameter.IsSupportedDirection Method
Retrieves a Boolean value indicating whether the specified parameter direction is supported.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Protected Overridable Function IsSupportedDirection ( _
direction As DataParameterDirection _
) As Boolean
protected virtual bool IsSupportedDirection(
DataParameterDirection direction
)
protected:
virtual bool IsSupportedDirection(
DataParameterDirection direction
)
abstract IsSupportedDirection :
direction:DataParameterDirection -> bool
override IsSupportedDirection :
direction:DataParameterDirection -> bool
protected function IsSupportedDirection(
direction : DataParameterDirection
) : boolean
Parameters
direction
Type: Microsoft.VisualStudio.Data.Services.SupportEntities.DataParameterDirectionA parameter direction, as defined in the DataParameterDirection enumeration.
Return Value
Type: System.Boolean
true if the specified parameter direction is supported; otherwise, false.
Remarks
This method is called by the base implementation of the OnDirectionChanging method. It is used to determine whether a parameter direction is valid for the current state of the parameter.
Notes to Inheritors
The base implementation of this method returns true.
.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.