オブジェクトのコレクションが指定した ID に対応するデータ オブジェクトが含まれているかどうかを示します。
名前空間: Microsoft.VisualStudio.Data.Services
アセンブリ: Microsoft.VisualStudio.Data.Services (Microsoft.VisualStudio.Data.Services.dll 内)
構文
'宣言
Function Contains ( _
identifier As Object() _
) As Boolean
bool Contains(
Object[] identifier
)
bool Contains(
array<Object^>^ identifier
)
abstract Contains :
identifier:Object[] -> bool
function Contains(
identifier : Object[]
) : boolean
パラメーター
- identifier
型 : array<System.Object[]
必要なデータ オブジェクトを区別する識別子のコンポーネントが格納された配列。
戻り値
型 : System.Boolean
指定されたデータ オブジェクトのコレクションにある場合true ; それ以外 false。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。