PolicyAssertionCollection.SetItem Method (Int32, XmlElement)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Replaces the policy assertion at a specified index with a specified policy assertion.

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

protected override void SetItem(
	int index,
	XmlElement item
)

Parameters

index
Type: System.Int32

The index that contains the assertion to replace.

item
Type: System.Xml.XmlElement

The policy assertion to replace the assertion already at index. The assertion must not be null.

.NET Framework
Available since 3.0
Return to top
Show: