Muokkaa

Jaa


XamlTypeMapper.SetAssemblyPath(String, String) Method

Definition

Specifies the path to use when loading an assembly.

public:
 void SetAssemblyPath(System::String ^ assemblyName, System::String ^ assemblyPath);
public void SetAssemblyPath (string assemblyName, string assemblyPath);
member this.SetAssemblyPath : string * string -> unit
Public Sub SetAssemblyPath (assemblyName As String, assemblyPath As String)

Parameters

assemblyName
String

The short name of the assembly without an extension or path specified (equivalent to Name).

assemblyPath
String

The file path of the assembly. The assembly path must be a full file path containing a file extension.

Exceptions

assemblyName is null

-or-

assemblyPath is null.

assemblyName is Empty

-or-

assemblyPath is Empty

-or-

assemblyPath is not a full file path containing a file extension.

Applies to