UrlMappingCollection.Item[] Property
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.
Gets or sets a UrlMapping in the collection.
Item[Int32] |
Gets or sets the UrlMapping object at the specified index. |
Item[String] |
Gets the UrlMapping object with the specified name. |
Gets or sets the UrlMapping object at the specified index.
public:
property System::Web::Configuration::UrlMapping ^ default[int] { System::Web::Configuration::UrlMapping ^ get(int index); void set(int index, System::Web::Configuration::UrlMapping ^ value); };
public System.Web.Configuration.UrlMapping this[int index] { get; set; }
member this.Item(int) : System.Web.Configuration.UrlMapping with get, set
Default Public Property Item(index As Integer) As UrlMapping
Parameters
- index
- Int32
The index of the object to get.
Property Value
The object at the specified index.
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Gets the UrlMapping object with the specified name.
public:
property System::Web::Configuration::UrlMapping ^ default[System::String ^] { System::Web::Configuration::UrlMapping ^ get(System::String ^ name); };
public System.Web.Configuration.UrlMapping this[string name] { get; }
member this.Item(string) : System.Web.Configuration.UrlMapping
Default Public ReadOnly Property Item(name As String) As UrlMapping
Parameters
- name
- String
The name of the collection object.
Property Value
The collection object that has the specified name.
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: