ReadOnlyMetadataCollection<T>.GetValue(String, Boolean) Method
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.