ReadOnlyMetadataCollection<T>.GetValue メソッド
[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]
指定された ID を使用して、このコレクションから項目を取得します。
名前空間: System.Data.Entity.Core.Metadata.Edm
アセンブリ: EntityFramework (EntityFramework.dll 内)
構文
'宣言
Public Overridable Function GetValue ( _
identity As String, _
ignoreCase As Boolean _
) As T
'使用
Dim instance As ReadOnlyMetadataCollection
Dim identity As String
Dim ignoreCase As Boolean
Dim returnValue As T
returnValue = instance.GetValue(identity, _
ignoreCase)
public virtual T GetValue(
string identity,
bool ignoreCase
)
public:
virtual T GetValue(
String^ identity,
bool ignoreCase
)
abstract GetValue :
identity:string *
ignoreCase:bool -> 'T
override GetValue :
identity:string *
ignoreCase:bool -> 'T
public function GetValue(
identity : String,
ignoreCase : boolean
) : T
パラメーター
- identity
型 : System.String
検索対象となる項目の ID。
- ignoreCase
型 : System.Boolean
大文字と小文字を区別せずに検索する場合は true、それ以外の場合は false。
戻り値
型 : T
このコレクションから取得された項目。