DataParameter.IsSupportedDirection Method

Retrieves a Boolean value indicating whether the specified parameter direction is supported.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Protected Overridable Function IsSupportedDirection ( _
    direction As DataParameterDirection _
) As Boolean
'Usage
Dim direction As DataParameterDirection 
Dim returnValue As Boolean 

returnValue = Me.IsSupportedDirection(direction)
protected virtual bool IsSupportedDirection(
    DataParameterDirection direction
)
protected:
virtual bool IsSupportedDirection(
    DataParameterDirection direction
)
protected function IsSupportedDirection(
    direction : DataParameterDirection
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns true if the specified parameter direction is supported; otherwise returns false.

Remarks

This method is called by the base implementation of the OnDirectionChanging method. It is used to determine if a parameter direction is valid for the current state of the parameter.

The base implementation of this method returns true.

.NET Framework Security

See Also

Reference

DataParameter Class

DataParameter Members

Microsoft.VisualStudio.Data Namespace