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.StringThe 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.