_Assembly.GetExportedTypes 方法
定义
为 COM 对象提供对 GetExportedTypes() 属性的与版本无关的访问。Provides COM objects with version-independent access to the GetExportedTypes() property.
public:
cli::array <Type ^> ^ GetExportedTypes();
public Type[] GetExportedTypes ();
abstract member GetExportedTypes : unit -> Type[]
Public Function GetExportedTypes () As Type()
返回
- Type[]
Type 对象的数组,这些对象表示此程序集中定义的在程序集外可见的类型。An array of Type objects that represent the types defined in this assembly that are visible outside the assembly.
注解
此方法用于从非托管代码访问托管类,不应从托管代码调用。This method is for access to managed classes from unmanaged code, and should not be called from managed code.
GetExportedTypes属性获取此程序集中定义并在程序集外可见的导出类型。The GetExportedTypes property gets the exported types defined in this assembly that are visible outside the assembly.