Muokkaa

Jaa


_Assembly Interface

Definition

Important

This API is not CLS-compliant.

Exposes the public members of the Assembly class to unmanaged code.

public interface class _Assembly
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("17156360-2F1A-384A-BC52-FDE93C215C5B")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual)]
public interface _Assembly
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("17156360-2f1a-384a-bc52-fde93c215c5b")]
public interface _Assembly
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("17156360-2F1A-384A-BC52-FDE93C215C5B")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual)>]
type _Assembly = interface
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("17156360-2f1a-384a-bc52-fde93c215c5b")>]
type _Assembly = interface
Public Interface _Assembly
Derived
Attributes

Remarks

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

This interface preserves the vtable order of the System.Reflection.Assembly class members that can be accessed by unmanaged COM objects.

Properties

CodeBase

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

EntryPoint

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

EscapedCodeBase

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

Evidence

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

FullName

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

GlobalAssemblyCache

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

Location

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

Methods

CreateInstance(String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[])

Provides COM objects with version-independent access to the CreateInstance(String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[]) method.

CreateInstance(String, Boolean)

Provides COM objects with version-independent access to the CreateInstance(String, Boolean) method.

CreateInstance(String)

Provides COM objects with version-independent access to the CreateInstance(String) method.

Equals(Object)

Provides COM objects with version-independent access to the Equals(Object) method.

GetCustomAttributes(Boolean)

Provides COM objects with version-independent access to the GetCustomAttributes(Boolean) method.

GetCustomAttributes(Type, Boolean)

Provides COM objects with version-independent access to the GetCustomAttributes(Type, Boolean) method.

GetExportedTypes()

Provides COM objects with version-independent access to the GetExportedTypes() property.

GetFile(String)

Provides COM objects with version-independent access to the GetFile(String) method.

GetFiles()

Provides COM objects with version-independent access to the GetFiles() method.

GetFiles(Boolean)

Provides COM objects with version-independent access to the GetFiles(Boolean) method.

GetHashCode()

Provides COM objects with version-independent access to the GetHashCode() method.

GetLoadedModules()

Provides COM objects with version-independent access to the GetLoadedModules() method.

GetLoadedModules(Boolean)

Provides COM objects with version-independent access to the GetLoadedModules(Boolean) method.

GetManifestResourceInfo(String)

Provides COM objects with version-independent access to the GetManifestResourceInfo(String) method.

GetManifestResourceNames()

Provides COM objects with version-independent access to the GetManifestResourceNames() method.

GetManifestResourceStream(String)

Provides COM objects with version-independent access to the GetManifestResourceStream(String) method.

GetManifestResourceStream(Type, String)

Provides COM objects with version-independent access to the GetManifestResourceStream(Type, String) method.

GetModule(String)

Provides COM objects with version-independent access to the GetModule(String) method.

GetModules()

Provides COM objects with version-independent access to the GetModules() method.

GetModules(Boolean)

Provides COM objects with version-independent access to the GetModules(Boolean) method.

GetName()

Provides COM objects with version-independent access to the GetName() method.

GetName(Boolean)

Provides COM objects with version-independent access to the GetName(Boolean) method.

GetObjectData(SerializationInfo, StreamingContext)

Provides COM objects with version-independent access to the GetObjectData(SerializationInfo, StreamingContext) method.

GetReferencedAssemblies()

Provides COM objects with version-independent access to the GetReferencedAssemblies() method.

GetSatelliteAssembly(CultureInfo, Version)

Provides COM objects with version-independent access to the GetSatelliteAssembly(CultureInfo, Version) method.

GetSatelliteAssembly(CultureInfo)

Provides COM objects with version-independent access to the GetSatelliteAssembly(CultureInfo) method.

GetType()

Provides COM objects with version-independent access to the GetType() method.

GetType(String, Boolean, Boolean)

Provides COM objects with version-independent access to the GetType(String, Boolean, Boolean) method.

GetType(String, Boolean)

Provides COM objects with version-independent access to the GetType(String, Boolean) method.

GetType(String)

Provides COM objects with version-independent access to the GetType(String) method.

GetTypes()

Provides COM objects with version-independent access to the GetTypes() method.

IsDefined(Type, Boolean)

Provides COM objects with version-independent access to the IsDefined(Type, Boolean) method.

LoadModule(String, Byte[], Byte[])

Provides COM objects with version-independent access to the LoadModule(String, Byte[], Byte[]) method.

LoadModule(String, Byte[])

Provides COM objects with version-independent access to the LoadModule(String, Byte[]) method.

ToString()

Provides COM objects with version-independent access to the ToString() method.

Events

ModuleResolve

Provides COM objects with version-independent access to the ModuleResolve event.

Applies to

See also