AssemblyBuilder.GetType(String, Boolean, Boolean) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Belirtilen türü, geçerli AssemblyBuilderiçinde tanımlanan ve oluşturulan türlerden alır.
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
Parametreler
- name
- String
Aranacak türün adı.
- throwOnError
- Boolean
true türü bulunamazsa özel durum oluşturma; aksi takdirde , false.
- ignoreCase
- Boolean
true arama yaparken tür adının büyük/küçük harf durumunu yoksaymak için; aksi takdirde , false.
Döndürülenler
Belirtilen tür veya null tür bulunamadıysa veya henüz oluşturulmadıysa.
- Öznitelikler
Açıklamalar
Yöntemi çağrılarak CreateType oluşturulana kadar bir tür bulunamaz.