Share via


ReadOnlyMetadataCollection<T> Class

Definition

Class representing a read-only wrapper around MetadataCollection

public class ReadOnlyMetadataCollection<T> : System.Collections.ObjectModel.ReadOnlyCollection<T> where T : MetadataItem
type ReadOnlyMetadataCollection<'T (requires 'T :> MetadataItem)> = class
    inherit ReadOnlyCollection<'T (requires 'T :> MetadataItem)>
Public Class ReadOnlyMetadataCollection(Of T)
Inherits ReadOnlyCollection(Of T)

Type Parameters

T

The type of items in this collection

Inheritance
ReadOnlyMetadataCollection<T>
Derived

Properties

IsReadOnly

Gets a value indicating whether this collection is read-only.

Item[String]

Gets an item from this collection by using the specified identity.

Methods

Contains(String)

Determines whether the collection contains an item with the specified identity.

GetEnumerator()

Returns an enumerator that can iterate through this collection.

GetValue(String, Boolean)

Retrieves an item from this collection by using the specified identity.

IndexOf(T)

Returns the index of the specified value in this collection.

TryGetValue(String, Boolean, T)

Retrieves an item from this collection by using the specified identity.

Applies to