ContainerLabelCollection Class
A collection of labels applied to a container or a volume.
public sealed class ContainerLabelCollection : IEnumerable<KeyValuePair<string, string>>, IEnumerableProperties
| Name | Description |
|---|---|
| Count | Gets the number of labels in the collection. |
Methods
| Name | Description |
|---|---|
| Add(string, string) | Adds or replaces a label. |
| Contains(string) | Determines whether a label is defined. |
| GetEnumerator() | Returns an enumerator over the labels. |
| Remove(string) | Removes a label. |
| System.Collections.IEnumerable.GetEnumerator() |
Add(string, string)
ContainerLabelCollection.csContains(string)
ContainerLabelCollection.csGetEnumerator()
ContainerLabelCollection.csReturns an enumerator over the labels.
public IEnumerator<KeyValuePair<string, string>> GetEnumerator()Returns
IEnumerator<KeyValuePair<string, string>> An enumerator.