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

集合的項目。

適用於