Partager via


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

'Declaration
Public Function GetOrdering ( _
    typeName As String _
) As String
public string GetOrdering(
    string typeName
)
public:
virtual String^ GetOrdering(
    String^ typeName
) sealed
abstract GetOrdering : 
        typeName:string -> string  
override GetOrdering : 
        typeName:string -> string
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 nulla null reference (Nothing in Visual Basic).

Remarks

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

.NET Framework Security

See Also

Reference

DataObjectSelector Class

GetOrdering Overload

Microsoft.VisualStudio.Data.Framework Namespace