AssemblyBuilder.GetType(String, Boolean, Boolean) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
현재 AssemblyBuilder에서 정의되고 만들어진 형식에서 지정된 형식을 가져옵니다.
public:
override Type ^ GetType(System::String ^ name, bool throwOnError, bool ignoreCase);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Types might be removed by trimming. If the type name is a string literal, consider using Type.GetType instead.")]
public override Type? GetType(string name, bool throwOnError, bool ignoreCase);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Types might be removed")]
public override Type? GetType(string name, bool throwOnError, bool ignoreCase);
public override Type? GetType(string name, bool throwOnError, bool ignoreCase);
public override Type GetType(string name, bool throwOnError, bool ignoreCase);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Types might be removed by trimming. If the type name is a string literal, consider using Type.GetType instead.")>]
override this.GetType : string * bool * bool -> Type
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Types might be removed")>]
override this.GetType : string * bool * bool -> Type
override this.GetType : string * bool * bool -> Type
Public Overrides Function GetType (name As String, throwOnError As Boolean, ignoreCase As Boolean) As Type
매개 변수
- name
- String
검색할 형식의 이름입니다.
- throwOnError
- Boolean
true형식을 찾을 수 없는 경우 예외를 throw하려면 입니다. 그렇지 않으면 . false
- ignoreCase
- Boolean
true검색할 때 형식 이름의 대/소문자를 무시합니다. 그렇지 않으면 . false
반품
지정된 형식이거나 null 형식을 찾을 수 없거나 아직 만들지 않은 경우입니다.
- 특성
설명
메서드를 호출하여 만들 때까지 형식을 CreateType 찾을 수 없습니다.