PostSharp SDK6.7//Post­Sharp.​Sdk.​Code­Model.​Collections Namespace/Permission­Set­Declaration­Collection Class/Permission­Set­Declaration­Collection Methods

PermissionSetDeclarationCollection Methods

The PermissionSetDeclarationCollection type exposes the following members.

Methods
  NameDescription
Public methodAdd
Adds an item to the ICollection<T>.
(Inherited from ElementCollection<T>.)
Public methodAddRange
Adds a collection of items to the current collection.
(Inherited from ElementCollection<T>.)
Public methodClear
Removes all items from the ICollection<T>.
(Inherited from ElementCollection<T>.)
Public methodClearCache
Clear the cache (typically mapping to System.Reflection or, if the current element is a reference, to the related definition) of all items of this collection.
(Inherited from ElementCollection<T>.)
Public methodContains
Determines whether the ICollection<T> contains a specific value.
(Inherited from ElementCollection<T>.)
Public methodCopyTo
Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.
(Inherited from ElementCollection<T>.)
Public methodDispose Obsolete.
Disposes the resources held by the current instance.
(Inherited from ElementCollection<T>.)
Public methodEndImport (Inherited from ElementCollection<T>.)
Public methodEnsureCapacity
Allocates additional capacity in the collection.
(Inherited from ElementCollection<T>.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from ElementCollection<T>.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRemove
Removes the first occurrence of a specific object from the ICollection<T>.
(Inherited from ElementCollection<T>.)
Public methodToArray
Converts the current collection into a typed array.
(Inherited from ElementCollection<T>.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Extension Methods
See Also