ManagementPackReferenceCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a management pack element that is defined by the ManagementPackReferenceCollection complex type. This type defines a collection of references used by the management pack.
public ref class ManagementPackReferenceCollection : System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::EnterpriseManagement::Configuration::ManagementPackReference ^>>, System::Collections::Generic::IDictionary<System::String ^, Microsoft::EnterpriseManagement::Configuration::ManagementPackReference ^>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::EnterpriseManagement::Configuration::ManagementPackReference ^>>
[System.Serializable]
public class ManagementPackReferenceCollection : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,Microsoft.EnterpriseManagement.Configuration.ManagementPackReference>>, System.Collections.Generic.IDictionary<string,Microsoft.EnterpriseManagement.Configuration.ManagementPackReference>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.EnterpriseManagement.Configuration.ManagementPackReference>>
type ManagementPackReferenceCollection = class
interface IDictionary<string, ManagementPackReference>
interface ICollection<KeyValuePair<string, ManagementPackReference>>
interface seq<KeyValuePair<string, ManagementPackReference>>
interface IEnumerable
Public Class ManagementPackReferenceCollection
Implements ICollection(Of KeyValuePair(Of String, ManagementPackReference)), IDictionary(Of String, ManagementPackReference), IEnumerable(Of KeyValuePair(Of String, ManagementPackReference))
- Inheritance
-
ManagementPackReferenceCollection
- Attributes
- Implements
Constructors
ManagementPackReferenceCollection() |
Initializes a new ManagementPackReferenceCollection object. |
Properties
Count |
Gets the number of references in the collection. |
IsReadOnly |
Gets a Boolean value that determines whether the reference collection is a read-only collection. |
Item[String] |
Gets the specified reference from the collection. |
Keys |
Gets the key references in the collection. |
Values |
Gets the reference values in the collection. |
Methods
Add(KeyValuePair<String,ManagementPackReference>) |
Adds the specified item to the collection. |
Add(String, ManagementPackReference) |
Adds an item to the collection by specifying an alias (name) and value for the item to add. |
Clear() |
Clears all the items in the collection. |
Contains(KeyValuePair<String,ManagementPackReference>) |
Determines whether the collection contains a specified value. |
Contains(String) |
Determines whether the collection contains a specified value. |
ContainsKey(String) |
Determines whether the collection contains a specified key value. |
ContainsValue(ManagementPackReference) |
Determines whether the collection contains a specified value. |
CopyTo(KeyValuePair<String,ManagementPackReference>[], Int32) |
Copies the collection of items to an array, starting with a specific index in the array. |
GetAlias(ManagementPackReference) |
Gets the alias for the specified management pack reference. |
GetEnumerator() |
Returns an enumerator that can iterate through a collection. |
Remove(KeyValuePair<String,ManagementPackReference>) |
Removes the specified item from the collection. |
Remove(String) |
Removes the specified item from the collection. |
TryGetValue(String, ManagementPackReference) |
Tries to get a value from an item in the collection. |
Explicit Interface Implementations
IEnumerable.GetEnumerator() | |
IEnumerable<KeyValuePair<String,ManagementPackReference>>.GetEnumerator() |