แก้ไข

แชร์ผ่าน


_Type.Assembly Property

Definition

Provides COM objects with version-independent access to the Assembly property.

public:
 property System::Reflection::Assembly ^ Assembly { System::Reflection::Assembly ^ get(); };
public System.Reflection.Assembly Assembly { get; }
member this.Assembly : System.Reflection.Assembly
Public ReadOnly Property Assembly As Assembly

Property Value

An Assembly instance that describes the assembly containing the current type.

Remarks

This property is for access to managed classes from unmanaged code, and should not be called from managed code.

The Type.Assembly property gets the Assembly in which the type is declared. For generic types, this property gets the Assembly in which the generic type is defined.

Applies to