語言

ReadOnlyMetadataCollection<T>.GetValue(String, Boolean) 方法

定義

利用指定的身份從此集合中檢索項目。

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

這是本收藏中的一件物品。

適用於