IVsDataObjectStore.GetObject Method (String, array<Object )

Retrieves the specified data object from the object store.

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

Syntax

声明
Function GetObject ( _
    typeName As String, _
    identifier As Object() _
) As IVsDataObject
IVsDataObject GetObject(
    string typeName,
    Object[] identifier
)
IVsDataObject^ GetObject(
    String^ typeName, 
    array<Object^>^ identifier
)
abstract GetObject : 
        typeName:string * 
        identifier:Object[] -> IVsDataObject 
function GetObject(
    typeName : String, 
    identifier : Object[]
) : IVsDataObject

Parameters

  • typeName
    Type: System.String
    The data source–specific type name of the data object to retrieve.
  • identifier
    Type: array<System.Object[]
    An array containing the identifier parts that uniquely identify the data object in the object store.

Return Value

Type: Microsoft.VisualStudio.Data.Services.IVsDataObject
An IVsDataObject representing the data object to retrieve.

Exceptions

Exception Condition
ArgumentNullException

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

.NET Framework Security

See Also

Reference

IVsDataObjectStore Interface

GetObject Overload

Microsoft.VisualStudio.Data.Services Namespace