IVsDataObjectStore.GetDefaultOrdering Method

Returns the default ordering that is used to sort the data source objects selected from the object store.

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

Syntax

'宣言
Function GetDefaultOrdering ( _
    typeName As String _
) As String
'使用
Dim instance As IVsDataObjectStore
Dim typeName As String
Dim returnValue As String

returnValue = instance.GetDefaultOrdering(typeName)
string GetDefaultOrdering(
    string typeName
)
String^ GetDefaultOrdering(
    String^ typeName
)
function GetDefaultOrdering(
    typeName : String
) : String

Parameters

  • typeName
    Type: System.String

    The name of the data source–specific type to get the default ordering for.

Return Value

Type: System.String

A string of comma-delimited values representing the data objects that specify the sort order.

Exceptions

Exception Condition
ArgumentNullException

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

Permissions

See Also

Reference

IVsDataObjectStore Interface

IVsDataObjectStore Members

Microsoft.VisualStudio.Data.Services Namespace