RouteCollection.Item[String] Property
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.
Gets the route in the collection that has the specified name.
public:
property System::Web::Routing::RouteBase ^ default[System::String ^] { System::Web::Routing::RouteBase ^ get(System::String ^ name); };
public System.Web.Routing.RouteBase this[string name] { get; }
member this.Item(string) : System.Web.Routing.RouteBase
Default Public ReadOnly Property Item(name As String) As RouteBase
Parameters
- name
- String
The value that identifies the route to get.
Property Value
An object that has the specified name, or null
if name
is null
, is an empty string, or does not match any route in the collection.
Remarks
Use the GetReadLock method and the GetWriteLock method to make sure that you interact with the collection without conflicts from other processes.
Applies to
See also
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.