Contains(TItemType) Method
Returns true if the item manager contains an item of the given type.
Namespace: Microsoft.Data.Tools.Design.Core.Context
Assembly: Microsoft.Data.Tools.Design.Core (in Microsoft.Data.Tools.Design.Core.dll)
Syntax
'Declaration
Public Function Contains(Of TItemType As ContextItem) As Boolean
'Usage
Dim instance As ContextItemCollection
Dim returnValue As Boolean
returnValue = instance.Contains()
public bool Contains<TItemType>()
where TItemType : ContextItem
public:
generic<typename TItemType>
where TItemType : ContextItem
bool Contains()
member Contains : unit -> bool when 'TItemType : ContextItem
JScript does not support generic types and methods.
Type Parameters
- TItemType
Return Value
Type: System..::..Boolean
True if the context contains an instance of this item type.