IConfigMapPathFactory.Create(String, String) Methode

Definitie

Hiermee maakt u de interface voor de toewijzing tussen virtuele en fysieke paden van het configuratiebestand.

Deze API ondersteunt de productinfrastructuur en is niet bedoeld om rechtstreeks vanuit de code te gebruiken.

public:
 System::Web::Configuration::IConfigMapPath ^ Create(System::String ^ virtualPath, System::String ^ physicalPath);
public System.Web.Configuration.IConfigMapPath Create(string virtualPath, string physicalPath);
abstract member Create : string * string -> System.Web.Configuration.IConfigMapPath
Public Function Create (virtualPath As String, physicalPath As String) As IConfigMapPath

Parameters

virtualPath
String

Het virtuele pad naar het configuratiebestand.

physicalPath
String

Het fysieke pad naar het configuratiebestand.

Retouren

Het IConfigMapPath object dat is gekoppeld aan de opgegeven toewijzing van het pad naar het configuratiebestand.

Opmerkingen

Create wordt geïntroduceerd in de .NET Framework versie 3.5. Zie Versies en afhankelijkheden voor meer informatie.

Van toepassing op