Partager via


Assembly.DefinedTypes Propriété

Définition

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.

S’applique à

Voir aussi