ReadOnlyMetadataCollection<T>.GetValue(String, Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
利用指定的身份從此集合中檢索項目。
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
參數
- identity
- String
要搜尋的物品身份。
- ignoreCase
- Boolean
true執行大小寫不區分搜尋;否則,。 false
傳回
T
這是本收藏中的一件物品。