Assembly.DefinedTypes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection of the types defined in this 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 { get; }
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)
Property Value
A collection of the types defined in this assembly.
Remarks
The DefinedTypes property is comparable to the Assembly.GetTypes method, except that the DefinedTypes property returns a collection of TypeInfo objects, and the Assembly.GetTypes method returns an array of Type objects.
The returned array includes nested types.
Applies to
See also
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา