IVsDataExplorerChildNodeCollection.Contains メソッド (String, array<Object )

サーバー エクスプローラーが指定した型の名前と ID に対応する接続ノードが含まれているかどうかを示します。

名前空間:  Microsoft.VisualStudio.Data.Services
アセンブリ:  Microsoft.VisualStudio.Data.Services (Microsoft.VisualStudio.Data.Services.dll 内)

構文

'宣言
Function Contains ( _
    typeName As String, _
    identifier As Object() _
) As Boolean
bool Contains(
    string typeName,
    Object[] identifier
)
bool Contains(
    String^ typeName, 
    array<Object^>^ identifier
)
abstract Contains : 
        typeName:string * 
        identifier:Object[] -> bool 
function Contains(
    typeName : String, 
    identifier : Object[]
) : boolean

パラメーター

  • typeName
    型 : System.String
    要求されたデータ オブジェクトの型の名前。
  • identifier
    型 : array<System.Object[]
    要求されたデータ オブジェクトを区別する識別子の一部の配列。

戻り値

型 : System.Boolean
指定した接続がサーバー エクスプローラーのノードが含まれている場合true ; それ以外 false。

例外

例外 条件
ArgumentNullException

typeName パラメーターまたは identifier パラメーターが nullnull 参照 (Visual Basic では Nothing) です。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

IVsDataExplorerChildNodeCollection インターフェイス

Contains オーバーロード

Microsoft.VisualStudio.Data.Services 名前空間