Gets the System.Web.Configuration.VirtualDirectoryMapping collection element based on the specified virtual-directory name.
- virtualDirectory
- A string that contains the name of the System.Web.Configuration.VirtualDirectoryMapping object.
The System.Web.Configuration.VirtualDirectoryMapping element based on the specified virtual-directory name.