WebConfigurationManager::OpenMappedWebConfiguration Method

 

Opens the Web-application configuration file as a Configuration object using the specified file mapping to allow read or write operations.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticOpenMappedWebConfiguration(WebConfigurationFileMap^, String^)

Opens the specified Web-application configuration file as a Configuration object using the specified file mapping and virtual path to allow read or write operations.

System_CAPS_pubmethodSystem_CAPS_staticOpenMappedWebConfiguration(WebConfigurationFileMap^, String^, String^)

Opens the specified Web application configuration file as a Configuration object using the specified file mapping, virtual path, and site name to allow read or write operations.

System_CAPS_pubmethodSystem_CAPS_staticOpenMappedWebConfiguration(WebConfigurationFileMap^, String^, String^, String^)

Opens the specified Web-application configuration file as a Configuration object using the specified file mapping, virtual path, site name, and location to allow read or write operations.

You use the mapping mechanism when you need to map your virtual directory hierarchy to a physical directory.

The following example shows how to map a virtual directory hierarchy to a physical one. The example shown here is used in the overloaded members.

No code example is currently available or this language may not be supported.
Return to top
Show: