PolicyAssertionCollection::SetItem Method (Int32, XmlElement^)

 

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:
virtual void SetItem(
	int index,
	XmlElement^ item
) override

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: