ManagementPackSubElementCollection<T> 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.
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Represents a collection of child elements in a management pack.
generic <typename T>
where T : ManagementPackSubElementpublic ref class ManagementPackSubElementCollection : System::Collections::Generic::ICollection<T>, System::Collections::Generic::IEnumerable<T>, System::Collections::Generic::IList<T>
[System.Serializable]
public class ManagementPackSubElementCollection<T> : System.Collections.Generic.ICollection<T>, System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IList<T> where T : ManagementPackSubElement
type ManagementPackSubElementCollection<'T (requires 'T :> ManagementPackSubElement)> = class
interface IList<'T (requires 'T :> ManagementPackSubElement)>
interface ICollection<'T (requires 'T :> ManagementPackSubElement)>
interface seq<'T (requires 'T :> ManagementPackSubElement)>
interface IEnumerable
Public Class ManagementPackSubElementCollection(Of T)
Implements ICollection(Of T), IEnumerable(Of T), IList(Of T)
Type Parameters
- T
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
- Inheritance
-
ManagementPackSubElementCollection<T>
- Attributes
- Implements
Properties
Count |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Gets the number of child elements in the collection. |
IsReadOnly |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Gets or sets a value that indicates whether the collection is a read-only collection. |
Item[Int32] |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Gets an item from the collection at the specified index. |
Item[String] |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Gets an item from the collection with the specified name. |
Methods
Add(T) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Adds an item to the collection. |
Clear() |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Clears (deletes) all the items in the collection. |
Contains(T) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Gets a value that indicates whether the specified item is contained in the collection. |
CopyTo(T[], Int32) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Copies the entire collection into an array starting at the specified index. |
GetEnumerator() |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Returns an enumerator that can iterate through a collection. |
GetItem(String) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Retrieves the specified child element from the collection of child elements. |
IndexOf(T) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Retrieves the index number of the specified item in the collection. |
Insert(Int32, T) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Inserts a new item in the collection at the specified index. |
Remove(T) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Removes an item from the collection. |
RemoveAt(Int32) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Removes an item from the collection at the specified index. |
Explicit Interface Implementations
IEnumerable.GetEnumerator() |