Share via


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

Return Value

Type: System.Tuple<List<Type>, AggregateMessageException>

See Also

ConfigMgrInventoryMessage Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace

Return to top