Returns a new NSExpression object that represent the union of a given set and collection.
Original signature is '+ (NSExpression *)expressionForUnionSet:(NSExpression *)left with:(NSExpression *)right'
Available in Mac OS X v10.5 and later.

C# | Visual Basic | Visual C++ |
public static NSExpression ExpressionForUnionSetWith( NSExpression left, NSExpression right )
Public Shared Function ExpressionForUnionSetWith ( _ left As NSExpression, _ right As NSExpression _ ) As NSExpression
public: static NSExpression^ ExpressionForUnionSetWith( NSExpression^ left, NSExpression^ right )

- left (NSExpression)
- An expression that evaluates to an NSSet object.
- right (NSExpression)
- An expression that evaluates to a collection object (an instance of NSArray, NSSet, or NSDictionary).

An new NSExpression object that represents the union of left and right.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)