Compartir a través de


MessageProperties.Item Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Retrieves a property at the given index.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

Syntax

'Declaration
Public Property Item ( _
    name As String _
) As Object
public Object this[
    string name
] { get; set; }

Parameters

  • name
    Type: System.String
    The name of the property to get from the collection.

Property Value

Type: System.Object
The property with the specified name, or nulla null reference (Nothing in Visual Basic) if the property does not exist.

Implements

IDictionary<TKey, TValue>.Item[TKey]

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.