語言

PolicyAssertionCollection.RemoveAll(String, String) 方法

定義

移除所有符合指定名稱與命名空間的政策斷言。

public:
 System::Collections::ObjectModel::Collection<System::Xml::XmlElement ^> ^ RemoveAll(System::String ^ localName, System::String ^ namespaceUri);
public System.Collections.ObjectModel.Collection<System.Xml.XmlElement> RemoveAll(string localName, string namespaceUri);
member this.RemoveAll : string * string -> System.Collections.ObjectModel.Collection<System.Xml.XmlElement>
Public Function RemoveAll (localName As String, namespaceUri As String) As Collection(Of XmlElement)

參數

localName
String

該政策主張的當地名稱。

namespaceUri
String

政策斷言的命名空間。

傳回

所有已移除政策斷言的集合,若未找到符合指定名稱與命名空間的斷言,則為空集合。

適用於