PolicyAssertionCollection.SetItem(Int32, XmlElement) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定索引处的策略断言替换为指定的策略断言。
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)
参数
- index
- Int32
包含要替换的断言的索引。
- item
- XmlElement
要替换已位于 index的断言的策略断言。 断言不得为 null。