Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft