Assembly.DefinedTypes Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient une collection des types définis dans cet assembly.
public:
abstract property System::Collections::Generic::IEnumerable<System::Reflection::TypeInfo ^> ^ DefinedTypes { System::Collections::Generic::IEnumerable<System::Reflection::TypeInfo ^> ^ get(); };
public:
virtual property System::Collections::Generic::IEnumerable<System::Reflection::TypeInfo ^> ^ DefinedTypes { System::Collections::Generic::IEnumerable<System::Reflection::TypeInfo ^> ^ get(); };
public abstract System.Collections.Generic.IEnumerable<System.Reflection.TypeInfo> DefinedTypes { get; }
public virtual System.Collections.Generic.IEnumerable<System.Reflection.TypeInfo> DefinedTypes { [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Types might be removed")] get; }
public virtual System.Collections.Generic.IEnumerable<System.Reflection.TypeInfo> DefinedTypes { get; }
member this.DefinedTypes : seq<System.Reflection.TypeInfo>
[<get: System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Types might be removed")>]
member this.DefinedTypes : seq<System.Reflection.TypeInfo>
Public MustOverride ReadOnly Property DefinedTypes As IEnumerable(Of TypeInfo)
Public Overridable ReadOnly Property DefinedTypes As IEnumerable(Of TypeInfo)
Valeur de propriété
Collection des types définis dans cet assembly.
- Attributs
Remarques
La DefinedTypes propriété est comparable à la Assembly.GetTypes méthode, sauf que la DefinedTypes propriété retourne une collection d’objets TypeInfo , et la Assembly.GetTypes méthode retourne un tableau d’objets Type .
Le tableau retourné inclut des types imbriqués.