IConfigMapPathFactory.Create(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.
Creates the interface for the mapping between configuration-file virtual and physical paths.
This API supports the product infrastructure and is not intended to be used directly from your code.
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
The configuration-file virtual path.
- physicalPath
- String
The configuration-file physical path.
Returns
The IConfigMapPath object associated with the specified configuration-file path mapping.
Remarks
Create is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.