Modifier

Partager via


PolicyAssertionCollection.SetItem(Int32, XmlElement) Method

Definition

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

protected:
 override void SetItem(int index, System::Xml::XmlElement ^ item);
protected override void SetItem (int index, System.Xml.XmlElement item);
override this.SetItem : int * System.Xml.XmlElement -> unit
Protected Overrides Sub SetItem (index As Integer, item As XmlElement)

Parameters

index
Int32

The index that contains the assertion to replace.

item
XmlElement

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

Applies to