CollectionsUtil.CreateCaseInsensitiveHashtable メソッド

定義

文字列の大文字と小文字を無視する Hashtable クラスの新しいインスタンスを作成します。

オーバーロード

名前 説明
CreateCaseInsensitiveHashtable()

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

CreateCaseInsensitiveHashtable(IDictionary)

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

CreateCaseInsensitiveHashtable(Int32)

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

CreateCaseInsensitiveHashtable()

既定の初期容量を使用して、 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)

指定したディクショナリから、コピーされたエントリの数と同じ初期容量を持つ 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

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

返品

指定したIDictionaryからのエントリを含む、Hashtable クラスの新しい大文字と小文字を区別しないインスタンス。

例外

dnullです。

注釈

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

こちらもご覧ください

適用対象

CreateCaseInsensitiveHashtable(Int32)

指定した初期容量を使用して、 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 クラスを作成します。

こちらもご覧ください

適用対象