This documentation is archived and is not being maintained.

Assembly.LoadFile Method

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Loads the contents of an assembly file.

Overload List

Loads the contents of an assembly file on the specified path.

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

Loads an assembly given its path, loading the assembly into the domain of the caller using the supplied evidence.

[Visual Basic] Overloads Public Shared Function LoadFile(String, Evidence) As Assembly
[C#] public static Assembly LoadFile(string, Evidence);
[C++] public: static Assembly* LoadFile(String*, Evidence*);
[JScript] public static function LoadFile(String, Evidence) : Assembly;

See Also

Assembly Class | Assembly Members | System.Reflection Namespace