IVsDataExplorerNodeSelection.Contains, méthode (String, array<Object )
Indique si le groupe de nœuds sélectionnés contient le nœud spécifié par son nom complet.
Espace de noms : Microsoft.VisualStudio.Data.Services
Assembly : Microsoft.VisualStudio.Data.Services (dans Microsoft.VisualStudio.Data.Services.dll)
Syntaxe
'Déclaration
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
Paramètres
- typeName
Type : System.String
Le nom du type d'objet de données représenté dans le nœud pour récupérer.
- identifier
Type : array<System.Object[]
Un tableau de parties d'identificateur d'objet de données qui représentent le nœud.
Valeur de retour
Type : System.Boolean
true si le nœud spécifié est disponible dans la sélection de nœud ; sinon, false.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.