Gemstone Common Library
Show/Hide TOC

# AssemblyInfoLoadAssemblyFromResource Method

Loads the specified assembly that is embedded as a resource in the assembly.

## Definition

Namespace: Gemstone.Reflection
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.164 -- Release Build+6bbd7ea5ff4ad8917f12d693358b77d083ee278e
C#
View Source Request Example

    [SecurityCriticalAttribute]
    public static void LoadAssemblyFromResource(
    	string assemblyName
    )

VB
View Source Request Example

    <SecurityCriticalAttribute>
    Public Shared Sub LoadAssemblyFromResource (
    	assemblyName As String
    )

C++
View Source Request Example

    public:
    [SecurityCriticalAttribute]
    static void LoadAssemblyFromResource(
    	String^ assemblyName
    )

JavaScript
View Source Request Example

    Gemstone.Reflection.AssemblyInfo.LoadAssemblyFromResource = function(assemblyName);

#### Parameters

assemblyName String
  Name of the assembly to load.

## Remarks

Note that this function cannot be used to load Gemstone.Core itself, since this is where function resides.

## See Also

#### Reference

AssemblyInfo Class
Gemstone.Reflection Namespace