NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Assembly.Load (String)

Loads an assembly given its display name.

[Visual Basic]
Overloads Public Shared Function Load( _
   ByVal assemblyString As String _
) As Assembly
[C#]
public static Assembly Load(
   string assemblyString
);
[C++]
public: static Assembly* Load(
   String* assemblyString
);
[JScript]
public static function Load(
   assemblyString : String
) : Assembly;

Parameters

assemblyString
The display name of the assembly.

Return Value

The loaded assembly.

Exceptions

Exception Type Condition
ArgumentNullException if assemblyString is a null reference (in Visual Basic Nothing)
FileNotFoundException if assembly is not found

Remarks

See AssemblyName for a description of the format of the display name.

See Also

Assembly Class | Assembly Members | System.Reflection Namespace | Assembly.Load Overload List