MessageProperties::Item Property (String^)

 

Retrieves a property with the specified name, identifier, or key value.

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

public:
property Object^ default[
	String^ name
] {
	virtual Object^ get(String^ name) sealed;
	virtual void set(String^ name, Object^ value) sealed;
}

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 null if the property does not exist.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: