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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.