Partager via


DataObjectSelector.GetOrdering Method (String, array<Object )

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

'Déclaration
Protected Overridable Function GetOrdering ( _
    typeName As String, _
    parameters As Object() _
) As String
protected virtual string GetOrdering(
    string typeName,
    Object[] parameters
)
protected:
virtual String^ GetOrdering(
    String^ typeName, 
    array<Object^>^ parameters
)
abstract GetOrdering : 
        typeName:string * 
        parameters:Object[] -> string 
override GetOrdering : 
        typeName:string * 
        parameters:Object[] -> string 
protected function GetOrdering(
    typeName : String, 
    parameters : Object[]
) : String

Parameters

  • typeName
    Type: System.String
    The data source–specific type name.
  • parameters
    Type: array<System.Object[]
    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 nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

DataObjectSelector Class

GetOrdering Overload

Microsoft.VisualStudio.Data.Framework Namespace