System::Runtime::InteropServices::NativeLibrary::TryLoad method

NativeLibrary::TryLoad method

Loads native dynamic library.

static bool System::Runtime::InteropServices::NativeLibrary::TryLoad(const String &libraryPath, IntPtr &handle)
ParameterTypeDescription
libraryPathconst String&Path to the library.
handleIntPtr&Native library handle.

ReturnValue

True if library loaded successfuly, false otherwise.

See Also