PolicyAssertionCollection.SetItem(Int32, XmlElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.