ConfigMgrInventoryMessage.InstancesContainsElementOfType Method (IList<InventoryReportBodyElement>, Tuple<Type, Boolean>[])
Verifies whether a particular type of instance is contained in a collection of elements.
Namespace: Microsoft.ConfigurationManagement.Messaging.Messages
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
protected Tuple<List<Type>, AggregateMessageException> InstancesContainsElementOfType(
IList<InventoryReportBodyElement> collection,
params Tuple<Type, bool>[] types
)
protected:
Tuple<List<Type^>^, AggregateMessageException^>^ InstancesContainsElementOfType(
IList<InventoryReportBodyElement^>^ collection,
... array<Tuple<Type^, bool>^>^ types
)
Protected Function InstancesContainsElementOfType (
collection As IList(Of InventoryReportBodyElement),
ParamArray types As Tuple(Of Type, Boolean)()
) As Tuple(Of List(Of Type), AggregateMessageException)
Parameters
collection
Type: System.Collections.Generic.IList<InventoryReportBodyElement>The element collection.
types
Type: System.Tuple<Type, Boolean>[]The list of types.
Return Value
Type: System.Tuple<List<Type>, AggregateMessageException>
See Also
ConfigMgrInventoryMessage Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace
Return to top