DataObjectSelector.GetOrdering Method (String, [])

Returns the ordering for the specified type as a string of comma-delimited data object names, which specifies the sort order of the data objects returned when objects are selected.

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

Syntax

'宣言
Protected Overridable Function GetOrdering ( _
    typeName As String, _
    parameters As Object() _
) As String
'使用
Dim typeName As String
Dim parameters As Object()
Dim returnValue As String

returnValue = Me.GetOrdering(typeName, _
    parameters)
protected virtual string GetOrdering(
    string typeName,
    Object[] parameters
)
protected:
virtual String^ GetOrdering(
    String^ typeName, 
    array<Object^>^ parameters
)
protected function GetOrdering(
    typeName : String, 
    parameters : Object[]
) : String

Parameters

  • typeName
    Type: System.String

    The data source–specific type name.

  • parameters
    Type: []

    An array containing the parameters for the specified type.

Return Value

Type: System.String

A string of comma-delimited data object names, which specifies the sort order of the data objects returned when objects are selected for the specified type.

Exceptions

Exception Condition
ArgumentNullException

The typeName parameter is a null reference (Nothing in Visual Basic).

Permissions

See Also

Reference

DataObjectSelector Class

DataObjectSelector Members

GetOrdering Overload

Microsoft.VisualStudio.Data.Framework Namespace