オブジェクトのデータ ストアから指定したオブジェクトを取得します。
名前空間: Microsoft.VisualStudio.Data.Services
アセンブリ: Microsoft.VisualStudio.Data.Services (Microsoft.VisualStudio.Data.Services.dll 内)
構文
'宣言
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
パラメーター
- typeName
型 : System.String
取得にデータ オブジェクトのデータ ソースの特定の種類の名前。
- identifier
型 : array<System.Object[]
オブジェクトのストア データ オブジェクトを区別する識別子のコンポーネントが格納された配列。
- properties
型 : array<System.String[]
データ オブジェクトの要求されたプロパティ値を指定します。DDEX の現在のバージョンがプロパティをサポートしていません。
- refresh
型 : System.Boolean
示す値の Boolean 指定した型の必須の制約およびプロパティの一覧を更新するかどうか。
戻り値
型 : Microsoft.VisualStudio.Data.Services.IVsDataObject
取得にデータ オブジェクトを表す IVsDataObject。
例外
| 例外 | 条件 |
|---|---|
| ArgumentNullException | typeName パラメーターが nullnull 参照 (Visual Basic では Nothing) です。 |
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。