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

'宣言
Public Function GetOrdering ( _
    typeName As String _
) As String
'使用
Dim instance As DataObjectSelector
Dim typeName As String
Dim returnValue As String

returnValue = instance.GetOrdering(typeName)
public string GetOrdering(
    string typeName
)
public:
virtual String^ GetOrdering(
    String^ typeName
) sealed
public final function GetOrdering(
    typeName : String
) : String

Parameters

  • typeName
    Type: System.String

    The data source–specific type name.

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.

Implements

IVsDataObjectSelector.GetOrdering(String)

Exceptions

Exception Condition
ArgumentNullException

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

Remarks

This method delegates the call to the GetOrdering method and passes null for the second parameter.

Permissions

See Also

Reference

DataObjectSelector Class

DataObjectSelector Members

GetOrdering Overload

Microsoft.VisualStudio.Data.Framework Namespace