Edit

Share via


ReadOnlyMetadataCollection<T>.GetValue(String, Boolean) Method

Definition

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

public:
 virtual T GetValue(System::String ^ identity, bool ignoreCase);
public virtual T GetValue (string identity, bool ignoreCase);
abstract member GetValue : string * bool -> 'T
override this.GetValue : string * bool -> 'T
Public Overridable Function GetValue (identity As String, ignoreCase As Boolean) As T

Parameters

identity
String

The identity of the item to be searched for.

ignoreCase
Boolean

true to perform the case-insensitive search; otherwise, false.

Returns

T

An item from this collection.

Applies to