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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om