AlternateEndpointsCollection.Item Property (String)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the AlternateEndpointsElement with the specified index.
Namespace: System.ServiceModel.Routing.Configuration
Assembly: System.ServiceModel.Routing (in System.ServiceModel.Routing.dll)
Syntax
'Declaration
Public ReadOnly Property Item ( _
name As String _
) As AlternateEndpointsElement
Get
'Usage
Dim instance As AlternateEndpointsCollection
Dim name As String
Dim value As AlternateEndpointsElement
value = instance.Item(name)
public AlternateEndpointsElement this[
string name
] { get; }
public:
property AlternateEndpointsElement^ Item[String^ name] {
AlternateEndpointsElement^ get (String^ name);
}
JScript does not support indexed properties.
member Item : AlternateEndpointsElement
Parameters
- name
Type: System.String
A String that contains the key of the element to be accessed.
Property Value
Type: System.ServiceModel.Routing.Configuration.AlternateEndpointsElement
A AlternateEndpointsElement that matches the specified key.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 4
See Also
Reference
AlternateEndpointsCollection Class