IVsDataObjectStore.GetObject 方法

定义

重载

GetObject(String, Object[])

从对象存储区中检索指定的数据对象。

GetObject(String, Object[], Boolean)

从对象存储区中检索指定的数据对象。

GetObject(String, Object[], String[])

从对象存储区中检索指定的数据对象。

GetObject(String, Object[], String[], Boolean)

从对象存储区中检索指定的数据对象。

GetObject(String, Object[])

从对象存储区中检索指定的数据对象。

public:
 Microsoft::VisualStudio::Data::Services::IVsDataObject ^ GetObject(System::String ^ typeName, cli::array <System::Object ^> ^ identifier);
public Microsoft.VisualStudio.Data.Services.IVsDataObject GetObject (string typeName, object[] identifier);
abstract member GetObject : string * obj[] -> Microsoft.VisualStudio.Data.Services.IVsDataObject
Public Function GetObject (typeName As String, identifier As Object()) As IVsDataObject

参数

typeName
String

要检索的数据对象的数据源特定类型名称。

identifier
Object[]

一个数组,该数组包含唯一标识对象存储区中的数据对象的标识符部分。

返回

IVsDataObject

IVsDataObject,表示要检索的数据对象。

例外

typeName 参数为 null。

适用于

GetObject(String, Object[], Boolean)

从对象存储区中检索指定的数据对象。

public:
 Microsoft::VisualStudio::Data::Services::IVsDataObject ^ GetObject(System::String ^ typeName, cli::array <System::Object ^> ^ identifier, bool refresh);
public Microsoft.VisualStudio.Data.Services.IVsDataObject GetObject (string typeName, object[] identifier, bool refresh);
abstract member GetObject : string * obj[] * bool -> Microsoft.VisualStudio.Data.Services.IVsDataObject
Public Function GetObject (typeName As String, identifier As Object(), refresh As Boolean) As IVsDataObject

参数

typeName
String

要检索的数据对象的数据源特定类型名称。

identifier
Object[]

一个数组,该数组包含唯一标识对象存储区中的数据对象的标识符部分。

refresh
Boolean

一个布尔值,指示是否为指定的类型更新所需的限制和属性的列表。

返回

IVsDataObject

IVsDataObject,表示要检索的数据对象。

例外

typeName 参数为 null。

适用于

GetObject(String, Object[], String[])

从对象存储区中检索指定的数据对象。

public:
 Microsoft::VisualStudio::Data::Services::IVsDataObject ^ GetObject(System::String ^ typeName, cli::array <System::Object ^> ^ identifier, cli::array <System::String ^> ^ properties);
public Microsoft.VisualStudio.Data.Services.IVsDataObject GetObject (string typeName, object[] identifier, string[] properties);
abstract member GetObject : string * obj[] * string[] -> Microsoft.VisualStudio.Data.Services.IVsDataObject
Public Function GetObject (typeName As String, identifier As Object(), properties As String()) As IVsDataObject

参数

typeName
String

要检索的数据对象的数据源特定类型名称。

identifier
Object[]

一个数组,该数组包含唯一标识对象存储区中的数据对象的标识符部分。

properties
String[]

指定数据对象的请求的属性值。 当前版本的 DDEX 不支持属性。

返回

IVsDataObject

IVsDataObject,表示要检索的数据对象。

例外

typeName 参数为 null。

适用于

GetObject(String, Object[], String[], Boolean)

从对象存储区中检索指定的数据对象。

public:
 Microsoft::VisualStudio::Data::Services::IVsDataObject ^ GetObject(System::String ^ typeName, cli::array <System::Object ^> ^ identifier, cli::array <System::String ^> ^ properties, bool refresh);
public Microsoft.VisualStudio.Data.Services.IVsDataObject GetObject (string typeName, object[] identifier, string[] properties, bool refresh);
abstract member GetObject : string * obj[] * string[] * bool -> Microsoft.VisualStudio.Data.Services.IVsDataObject
Public Function GetObject (typeName As String, identifier As Object(), properties As String(), refresh As Boolean) As IVsDataObject

参数

typeName
String

要检索的数据对象的数据源特定类型名称。

identifier
Object[]

一个数组,该数组包含唯一标识对象存储区中的数据对象的标识符部分。

properties
String[]

指定数据对象的请求的属性值。 当前版本的 DDEX 不支持属性。

refresh
Boolean

一个布尔值,指示是否为指定的类型更新所需的限制和属性的列表。

返回

IVsDataObject

IVsDataObject,表示要检索的数据对象。

例外

typeName 参数为 null。

适用于