XamlTypeMapper.SetAssemblyPath(String, String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Spécifie le chemin à utiliser lors du chargement d’un 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)
Paramètres
- assemblyPath
- String
Chemin d’accès du fichier de l’assembly. Le chemin d’accès d’assembly doit être un chemin de fichier complet contenant une extension de fichier.
Exceptions
assemblyName est Empty
- ou -
assemblyPath est Empty
- ou -
assemblyPath n’est pas un chemin d’accès de fichier complet contenant une extension de fichier.