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的斷言。 該斷言不能為無效。