XamlTypeMapper.SetAssemblyPath(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 Empty
-or-
assemblyPath
is Empty
-or-
assemblyPath
is not a full file path containing a file extension.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.