IVsDataExplorerChildNodeCollection.Contains Method (Int32)
Indicates whether Server Explorer contains a connection node corresponding to the specified data object identifier.
Namespace: Microsoft.VisualStudio.Data.Services
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Function Contains ( _
itemId As Integer _
) As Boolean
bool Contains(
int itemId
)
bool Contains(
int itemId
)
abstract Contains :
itemId:int -> bool
function Contains(
itemId : int
) : boolean
Parameters
itemId
Type: System.Int32An integer value representing the ID of the data object.
Return Value
Type: System.Boolean
true if Server Explorer contains the specified connection node; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.