Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Declaration
Function GetObject ( _
typeName As String, _
identifier As Object(), _
properties As String(), _
refresh As Boolean _
) As IVsDataObject
IVsDataObject GetObject(
string typeName,
Object[] identifier,
string[] properties,
bool refresh
)
IVsDataObject^ GetObject(
String^ typeName,
array<Object^>^ identifier,
array<String^>^ properties,
bool refresh
)
abstract GetObject :
typeName:string *
identifier:Object[] *
properties:string[] *
refresh:bool -> IVsDataObject
function GetObject(
typeName : String,
identifier : Object[],
properties : String[],
refresh : boolean
) : 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.
- properties
Type: array<System.String[]
Specifies the requested property values of the data object. The current version of DDEX does not support properties.
- refresh
Type: System.Boolean
A Boolean value indicating whether to update the list of required restrictions and properties for the specified type.
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
- 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.