ITypeResolutionService.GetType 메서드

정의

지정된 이름의 형식을 로드합니다.

오버로드

Name Description
GetType(String)

지정된 이름의 형식을 로드합니다.

GetType(String, Boolean)

지정된 이름의 형식을 로드합니다.

GetType(String, Boolean, Boolean)

지정된 이름의 형식을 로드합니다.

GetType(String)

Source:
ITypeResolutionService.cs
Source:
ITypeResolutionService.cs
Source:
SerializationStore.cs

지정된 이름의 형식을 로드합니다.

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

매개 변수

name
String

형식의 이름입니다. 형식 이름이 어셈블리를 나타내는 정규화된 이름이 아닌 경우 이 서비스는 참조된 어셈블리의 내부 집합을 검색합니다.

반품

지정된 이름에 해당하는 인스턴스 Type 이거나 null 형식을 찾을 수 없는 경우

적용 대상

GetType(String, Boolean)

Source:
ITypeResolutionService.cs
Source:
ITypeResolutionService.cs
Source:
SerializationStore.cs

지정된 이름의 형식을 로드합니다.

public:
 Type ^ GetType(System::String ^ name, bool throwOnError);
public Type? GetType(string name, bool throwOnError);
public Type GetType(string name, bool throwOnError);
abstract member GetType : string * bool -> Type
Public Function GetType (name As String, throwOnError As Boolean) As Type

매개 변수

name
String

형식의 이름입니다. 형식 이름이 어셈블리를 나타내는 정규화된 이름이 아닌 경우 이 서비스는 참조된 어셈블리의 내부 집합을 검색합니다.

throwOnError
Boolean

true 어셈블리를 찾을 수 없는 경우 이 메서드가 예외를 throw해야 하면 이고, 그렇지 않으면 false어셈블리를 배치할 수 없으면 이 메서드가 반환 null 됩니다.

반품

지정된 이름에 해당하는 인스턴스 Type 이거나 null 형식을 찾을 수 없는 경우

설명

형식을 로드할 수 없고 매개 변수가 throwOnErrortrue있으면 예외가 throw됩니다.

적용 대상

GetType(String, Boolean, Boolean)

Source:
ITypeResolutionService.cs
Source:
ITypeResolutionService.cs
Source:
SerializationStore.cs

지정된 이름의 형식을 로드합니다.

public:
 Type ^ GetType(System::String ^ name, bool throwOnError, bool ignoreCase);
public Type? GetType(string name, bool throwOnError, bool ignoreCase);
public Type GetType(string name, bool throwOnError, bool ignoreCase);
abstract member GetType : string * bool * bool -> Type
Public Function GetType (name As String, throwOnError As Boolean, ignoreCase As Boolean) As Type

매개 변수

name
String

형식의 이름입니다. 형식 이름이 어셈블리를 나타내는 정규화된 이름이 아닌 경우 이 서비스는 참조된 어셈블리의 내부 집합을 검색합니다.

throwOnError
Boolean

true 어셈블리를 찾을 수 없는 경우 이 메서드가 예외를 throw해야 하면 이고, 그렇지 않으면 false어셈블리를 배치할 수 없으면 이 메서드가 반환 null 됩니다.

ignoreCase
Boolean

true형식을 검색할 때 대/소문자를 무시하려면 그렇지 않으면 . false

반품

지정된 이름에 해당하는 인스턴스 Type 이거나 null 형식을 찾을 수 없는 경우

설명

형식을 로드할 수 없고 매개 변수가 throwOnErrortrue있으면 예외가 throw됩니다.

적용 대상