Returns a collection of data objects for the specified type from the object store.
Namespace: Microsoft.VisualStudio.Data.Services
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'宣言
Function SelectObjects ( _
typeName As String _
) As IVsDataObjectCollection
'使用
Dim instance As IVsDataObjectStore
Dim typeName As String
Dim returnValue As IVsDataObjectCollection
returnValue = instance.SelectObjects(typeName)
IVsDataObjectCollection SelectObjects(
string typeName
)
IVsDataObjectCollection^ SelectObjects(
String^ typeName
)
function SelectObjects(
typeName : String
) : IVsDataObjectCollection
Parameters
typeName
Type: System.StringThe data source–specific name of the specified type to retrieve data objects for.
Return Value
Type: Microsoft.VisualStudio.Data.Services.IVsDataObjectCollection
An IVsDataObjectCollection containing the data objects.
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.