A set is an interface to an unordered collection of objects.
This implementation uses a List`1as the underlying data structure.
See Also: Inherited members from NSObject.
|
|
AddObject
(NSObject)Adds an object to the set. |
|
|
|
AllObjects
()Returns all objects contained in the set. |
|
|
|
AnyObject
()Returns one of the objects in the set, or null if the set contains no objects. |
|
|
|
ContainsObject
(NSObject)Finds out whether a given object is contained in the set. |
|
|
override
|
Equals
(NSObject)Determines whether the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSSet. |
|
|
abstract
|
Equals
(NSObject)Determines if the specific NSObject is the same as the NSObject overriding this method. (Inherited from NSObject.) |
|
|
override
|
Equals
(object)Determines whether the specified object is equal to the current Claunia.PropertyList.NSSet. |
|
|
|
GetEnumerator
()Returns an enumerator object that lets you iterate over all elements of the set. This is the equivalent to objectEnumerator in the Cocoa implementation of NSSet. |
|
|
override
|
GetHashCode
()Serves as a hash function for a Claunia.PropertyList.NSSet object. |
|
|
|
IntersectsSet
(NSSet)Finds out whether at least one object is present in both sets. |
|
|
|
IsSubsetOfSet
(NSSet)Finds out if this set is a subset of the given set. |
|
|
|
Member
(NSObject)Determines whether the set contains an object equal to a given object and returns that object if it is present. |
|
|
|
RemoveObject
(NSObject)Removes an object from the set. |
|
|
|
ToObject
()Converts this NSObject into an equivalent object of the .NET Runtime Environment. |
|
|
|
ToXmlPropertyList
()Generates a valid XML property list including headers using this object as root. (Inherited from NSObject.) |
|
Creates an empty unordered set.Syntax
public NSSet ()Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Creates a set and fill it with the given objects.Syntax
public NSSet (params NSObject[] objects)Parameters
- objects
- The objects to populate the set.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Creates an empty set.Syntax
public NSSet (bool ordered)Parameters
- ordered
- Should the set be ordered on operations?
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Creates a set and fill it with the given objects.Syntax
Parameters
- ordered
- Should the set be ordered on operations?
- objects
- The objects to populate the set.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Adds an object to the set.Syntax
Parameters
- obj
- The object to add.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Returns all objects contained in the set.Syntax
public NSObject[] AllObjects ()Returns
An array of all objects in the set.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Returns one of the objects in the set, or null if the set contains no objects.Syntax
public NSObject AnyObject ()Returns
The first object in the set, or null if the set is empty.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Finds out whether a given object is contained in the set.Syntax
Parameters
- obj
- The object to look for.
Returns
true, when the object was found, false otherwise.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Gets the number of elements in the set.Syntax
public int Count { get; }Value
The number of elements in the set.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Determines whether the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSSet.Syntax
Parameters
- obj
- The Claunia.PropertyList.NSObject to compare with the current Claunia.PropertyList.NSSet.
Returns
true if the specified Claunia.PropertyList.NSObject is equal to the current Claunia.PropertyList.NSSet; otherwise, false.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Determines whether the specified object is equal to the current Claunia.PropertyList.NSSet.Syntax
Parameters
- obj
- The object to compare with the current Claunia.PropertyList.NSSet.
Returns
true if the specified object is equal to the current Claunia.PropertyList.NSSet; otherwise, false.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Returns an enumerator object that lets you iterate over all elements of the set. This is the equivalent to objectEnumerator in the Cocoa implementation of NSSet.Syntax
public IEnumerator GetEnumerator ()Returns
The iterator for the set.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Serves as a hash function for a Claunia.PropertyList.NSSet object.Syntax
public override int GetHashCode ()Returns
A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a hash table.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Finds out whether at least one object is present in both sets.Syntax
Parameters
- otherSet
- The other set.
Returns
true if the intersection of both sets is empty, false otherwise.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Finds out if this set is a subset of the given set.Syntax
Parameters
- otherSet
- The other set.
Returns
true if all elements in this set are also present in the other set, falseotherwise.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Determines whether the set contains an object equal to a given object and returns that object if it is present.Syntax
Parameters
- obj
- The object to look for.
Returns
The object if it is present, null otherwise.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0
Removes an object from the set.Syntax
Parameters
- obj
- The object to remove.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Claunia.PropertyList
Assembly: plist-cil (in plist-cil.dll)
Assembly Versions: 1.13.0.0, 1.14.0.0