128 lines
7.2 KiB
XML
128 lines
7.2 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<Type Name="UrlMapping" FullName="System.Web.Configuration.UrlMapping">
|
||
|
<TypeSignature Language="C#" Value="public sealed class UrlMapping : System.Configuration.ConfigurationElement" />
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyName>System.Web</AssemblyName>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<Base>
|
||
|
<BaseTypeName>System.Configuration.ConfigurationElement</BaseTypeName>
|
||
|
</Base>
|
||
|
<Interfaces />
|
||
|
<Docs>
|
||
|
<since version=".NET 2.0" />
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>The <see cref="T:System.Web.Configuration.UrlMapping" /> class allows you to map a URL that is displayed to users to a URL that exists in your Web application. Adding a <see cref="T:System.Web.Configuration.UrlMapping" /> object to a <see cref="T:System.Web.Configuration.UrlMappingCollection" /> is the programmatic equivalent to including an add element in the urlMappings section of a configuration file. </para>
|
||
|
<para>Each <see cref="T:System.Web.Configuration.UrlMapping" /> object contains two properties identifying a URL. One property specifies the URL shown to the user; the other specifies a URL in your Web application. Trailing white-space characters are ignored in both the <see cref="P:System.Web.Configuration.UrlMapping.Url" /> and <see cref="P:System.Web.Configuration.UrlMapping.MappedUrl" /> properties.</para>
|
||
|
<block subset="none" type="note">
|
||
|
<para>The <see cref="T:System.Web.Configuration.UrlMapping" /> property can write information into the related section of the configuration file according to the restrictions defined by the section property <see cref="P:System.Configuration.SectionInformation.AllowDefinition" /> whose value is <see cref="F:System.Configuration.ConfigurationAllowDefinition.MachineToApplication" />. Any attempt to write in a configuration file at a level not allowed in the hierarchy will result in an error message generated by the parser. However, you can use this class to read configuration information at any level in the hierarchy.</para>
|
||
|
</block>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Maps a URL that is displayed to users to the URL of a page in your Web application. This class cannot be inherited.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
<Members>
|
||
|
<Member MemberName=".ctor">
|
||
|
<MemberSignature Language="C#" Value="public UrlMapping (string url, string mappedUrl);" />
|
||
|
<MemberType>Constructor</MemberType>
|
||
|
<Parameters>
|
||
|
<Parameter Name="url" Type="System.String" />
|
||
|
<Parameter Name="mappedUrl" Type="System.String" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<since version=".NET 2.0" />
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>The <see cref="M:System.Web.Configuration.UrlMapping.#ctor(System.String,System.String)" /> constructor is intended primarily for internal use by ASP.NET. You do not need to derive from this class, and because it can be used to modify the Web.config file, you will probably never need to use it in code.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Initializes a new instance of the <see cref="T:System.Web.Configuration.UrlMapping" /> class.</para>
|
||
|
</summary>
|
||
|
<param name="url">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The URL to be displayed to the user.</param>
|
||
|
<param name="mappedUrl">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />A URL that exists in your Web application.</param>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="MappedUrl">
|
||
|
<MemberSignature Language="C#" Value="public string MappedUrl { get; }" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<Attributes>
|
||
|
<Attribute>
|
||
|
<AttributeName>System.Configuration.ConfigurationProperty("mappedUrl", Options=System.Configuration.ConfigurationPropertyOptions.IsRequired)</AttributeName>
|
||
|
</Attribute>
|
||
|
</Attributes>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.String</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Docs>
|
||
|
<value>To be added.</value>
|
||
|
<since version=".NET 2.0" />
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>The <see cref="P:System.Web.Configuration.UrlMapping.MappedUrl" /> property is the programmatic equivalent of the mappedUrl attribute of the add element in the urlMappings section of a configuration file. </para>
|
||
|
<block subset="none" type="note">
|
||
|
<para>When using IIS 5.0, if you use the <see cref="P:System.Web.Configuration.UrlMapping.MappedUrl" /> property to map from a supported page type (such as an .aspx file) to an unsupported page type (such as an .asp page), an error will occur. This type of mapping is supported in IIS version 6.0.</para>
|
||
|
</block>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>A URL in your Web application.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="Properties">
|
||
|
<MemberSignature Language="C#" Value="protected override System.Configuration.ConfigurationPropertyCollection Properties { get; }" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Configuration.ConfigurationPropertyCollection</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Docs>
|
||
|
<summary>To be added.</summary>
|
||
|
<value>To be added.</value>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<since version=".NET 2.0" />
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
<Member MemberName="Url">
|
||
|
<MemberSignature Language="C#" Value="public string Url { get; }" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<Attributes>
|
||
|
<Attribute>
|
||
|
<AttributeName>System.Configuration.ConfigurationProperty("url", Options=System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)</AttributeName>
|
||
|
</Attribute>
|
||
|
</Attributes>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.String</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Docs>
|
||
|
<value>To be added.</value>
|
||
|
<since version=".NET 2.0" />
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>The <see cref="P:System.Web.Configuration.UrlMapping.Url" /> property is the programmatic equivalent of the Url attribute of the add element in the urlMappings section of a configuration file. </para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Gets the URL that is displayed to the user.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
</Member>
|
||
|
</Members>
|
||
|
</Type>
|