CollectionsUtil.CreateCaseInsensitiveHashtable 메서드

정의

문자열의 대/소문자를 구분하지 않는 Hashtable 클래스의 새 인스턴스를 만듭니다.

오버로드

CreateCaseInsensitiveHashtable()

기본 초기 용량을 갖는 Hashtable 클래스의 대/소문자를 구분하지 않는 새 인스턴스를 만듭니다.

CreateCaseInsensitiveHashtable(IDictionary)

지정된 사전의 항목을 복사된 항목의 수와 초기 용량이 같은 Hashtable 클래스의 대/소문자를 구분하지 않는 새 인스턴스로 복사합니다.

CreateCaseInsensitiveHashtable(Int32)

초기 용량이 지정된 Hashtable 클래스의 대/소문자를 구분하지 않는 새 인스턴스를 만듭니다.

CreateCaseInsensitiveHashtable()

Source:
CollectionsUtil.cs
Source:
CollectionsUtil.cs
Source:
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)

Source:
CollectionsUtil.cs
Source:
CollectionsUtil.cs
Source:
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)

Source:
CollectionsUtil.cs
Source:
CollectionsUtil.cs
Source:
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 클래스를 만듭니다.

추가 정보

적용 대상