Manager.GetCodeBase(String, 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.
Obtient la base de code et le nom de l’application à partir de la chaîne d’URL transmise.
Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.
public:
static bool GetCodeBase(System::String ^ pURL, [Runtime::InteropServices::Out] System::String ^ % codeBase, [Runtime::InteropServices::Out] System::String ^ % application);
public static bool GetCodeBase (string pURL, out string codeBase, out string application);
static member GetCodeBase : string * string * string -> bool
Public Shared Function GetCodeBase (pURL As String, ByRef codeBase As String, ByRef application As String) As Boolean
Paramètres
- pURL
- String
URL de la base de code.
- codeBase
- String
Quand cette méthode retourne, contient le chemin vers la base de code.
- application
- String
Quand cette méthode retourne, contient le nom de l’application.
Retours
true si la base de code a été trouvée ; sinon, false.