CollectionsUtil.CreateCaseInsensitiveHashtable メソッド

定義

文字列の大文字と小文字を区別しない Hashtable クラスの新しいインスタンスを作成します。

オーバーロード

CreateCaseInsensitiveHashtable()

既定の初期量を備えた、大文字と小文字を区別しない Hashtable クラスの新しいインスタンスを作成します。

CreateCaseInsensitiveHashtable(IDictionary)

コピーされるエントリ数と同じ初期量を備えた、Hashtable クラスの大文字と小文字を区別しない新しいインスタンスに、指定したディクショナリからエントリをコピーします。

CreateCaseInsensitiveHashtable(Int32)

指定した初期量を備えた、大文字と小文字を区別しない Hashtable クラスの新しいインスタンスを作成します。

CreateCaseInsensitiveHashtable()

ソース:
CollectionsUtil.cs
ソース:
CollectionsUtil.cs
ソース:
CollectionsUtil.cs

既定の初期量を備えた、大文字と小文字を区別しない Hashtable クラスの新しいインスタンスを作成します。

public:
 static System::Collections::Hashtable ^ CreateCaseInsensitiveHashtable();
public static System.Collections.Hashtable CreateCaseInsensitiveHashtable ();
static member CreateCaseInsensitiveHashtable : unit -> System.Collections.Hashtable
Public Shared Function CreateCaseInsensitiveHashtable () As Hashtable

戻り値

既定の初期量を備えた、Hashtable クラスの大文字と小文字を区別しない新しいインスタンス。

注釈

メソッドを使用する CreateCaseInsensitiveHashtable 代わりに、 コンストラクターを Hashtable.Hashtable(IEqualityComparer) 使用して、大文字と小文字を区別しない Hashtable クラスを作成します。

こちらもご覧ください

適用対象

CreateCaseInsensitiveHashtable(IDictionary)

ソース:
CollectionsUtil.cs
ソース:
CollectionsUtil.cs
ソース:
CollectionsUtil.cs

コピーされるエントリ数と同じ初期量を備えた、Hashtable クラスの大文字と小文字を区別しない新しいインスタンスに、指定したディクショナリからエントリをコピーします。

public:
 static System::Collections::Hashtable ^ CreateCaseInsensitiveHashtable(System::Collections::IDictionary ^ d);
public static System.Collections.Hashtable CreateCaseInsensitiveHashtable (System.Collections.IDictionary d);
static member CreateCaseInsensitiveHashtable : System.Collections.IDictionary -> System.Collections.Hashtable
Public Shared Function CreateCaseInsensitiveHashtable (d As IDictionary) As Hashtable

パラメーター

d
IDictionary

大文字と小文字を区別しない新しい IDictionary にコピーする Hashtable

戻り値

指定した Hashtable のエントリが格納されている、大文字と小文字を区別しない IDictionary クラスの新しいインスタンス。

例外

dnull です。

注釈

メソッドを使用する CreateCaseInsensitiveHashtable 代わりに、 コンストラクターを Hashtable.Hashtable(IDictionary, IEqualityComparer) 使用して、大文字と小文字を区別しない Hashtable クラスを作成します。

こちらもご覧ください

適用対象

CreateCaseInsensitiveHashtable(Int32)

ソース:
CollectionsUtil.cs
ソース:
CollectionsUtil.cs
ソース:
CollectionsUtil.cs

指定した初期量を備えた、大文字と小文字を区別しない Hashtable クラスの新しいインスタンスを作成します。

public:
 static System::Collections::Hashtable ^ CreateCaseInsensitiveHashtable(int capacity);
public static System.Collections.Hashtable CreateCaseInsensitiveHashtable (int capacity);
static member CreateCaseInsensitiveHashtable : int -> System.Collections.Hashtable
Public Shared Function CreateCaseInsensitiveHashtable (capacity As Integer) As Hashtable

パラメーター

capacity
Int32

Hashtable が初期状態で格納できるエントリの概数。

戻り値

指定した初期量を備えた、Hashtable クラスの大文字と小文字を区別しない新しいインスタンス。

例外

capacity が 0 未満です。

注釈

メソッドを使用する CreateCaseInsensitiveHashtable 代わりに、 コンストラクターを Hashtable.Hashtable(Int32, IEqualityComparer) 使用して、大文字と小文字を区別しない Hashtable クラスを作成します。

こちらもご覧ください

適用対象