Condividi tramite


Assembly.DefinedTypes Proprietà

Definizione

Ottiene una raccolta dei tipi definiti in questo 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)

Valore della proprietà

Raccolta dei tipi definiti in questo assembly.

Attributi

Commenti

La DefinedTypes proprietà è paragonabile al Assembly.GetTypes metodo , ad eccezione del fatto che la DefinedTypes proprietà restituisce una raccolta di TypeInfo oggetti e il Assembly.GetTypes metodo restituisce una matrice di Type oggetti .

La matrice restituita include tipi annidati.

Si applica a

Vedi anche