_Type.GetNestedType 메서드

정의

버전에 관계없이 GetNestedType 메서드에 액세스할 수 있는 COM 개체를 제공합니다.

오버로드

GetNestedType(String)

버전에 관계없이 GetNestedType(String) 메서드에 액세스할 수 있는 COM 개체를 제공합니다.

GetNestedType(String, BindingFlags)

버전에 관계없이 GetNestedType(String, BindingFlags) 메서드에 액세스할 수 있는 COM 개체를 제공합니다.

설명

이 메서드는 비관리 코드에서 액세스를 위한 관리 되는 클래스에는 하며 관리 코드에서 호출할 수 없습니다.

합니다 Type.GetNestedType 메서드는 현재 내에 중첩 된 특정 형식을 가져옵니다 Type합니다.

GetNestedType(String)

버전에 관계없이 GetNestedType(String) 메서드에 액세스할 수 있는 COM 개체를 제공합니다.

public:
 Type ^ GetNestedType(System::String ^ name);
public Type GetNestedType (string name);
abstract member GetNestedType : string -> Type
Public Function GetNestedType (name As String) As Type

매개 변수

name
String

가져올 중첩 형식의 이름이 포함된 문자열입니다.

반환

Type

지정된 이름의 public 중첩 형식이 있으면 이를 나타내는 Type 개체이고, 그렇지 않으면 null입니다.

설명

이 메서드는 비관리 코드에서 액세스를 위한 관리 되는 클래스에는 하며 관리 코드에서 호출할 수 없습니다.

Type.GetNestedType 메서드는 지정 된 이름의 public 중첩된 형식 검색 합니다.

적용 대상

GetNestedType(String, BindingFlags)

버전에 관계없이 GetNestedType(String, BindingFlags) 메서드에 액세스할 수 있는 COM 개체를 제공합니다.

public:
 Type ^ GetNestedType(System::String ^ name, System::Reflection::BindingFlags bindingAttr);
public Type GetNestedType (string name, System.Reflection.BindingFlags bindingAttr);
abstract member GetNestedType : string * System.Reflection.BindingFlags -> Type
Public Function GetNestedType (name As String, bindingAttr As BindingFlags) As Type

매개 변수

name
String

가져올 중첩 형식의 이름이 포함된 문자열입니다.

bindingAttr
BindingFlags

검색 방법을 지정하는 하나 이상의 BindingFlags로 구성된 비트 마스크입니다.

또는 0(null을 반환하는 경우)

반환

Type

지정된 요구 사항과 일치하는 중첩 형식을 나타내는 Type 개체이며(있는 경우), 이러한 개체가 없으면 null입니다.

설명

이 메서드는 비관리 코드에서 액세스를 위한 관리 되는 클래스에는 하며 관리 코드에서 호출할 수 없습니다.

Type.GetNestedType 메서드를 지정 된 바인딩 제약 조건을 사용 하 여, 지정 된 중첩 형식을 검색 합니다.

적용 대상