PolicyAssertionCollection.RemoveAll(String, String) Method

Definition

Removes all policy assertions that match the specified name and namespace.

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)

Parameters

localName
String

The local name of the policy assertion.

namespaceUri
String

The namespace of the policy assertion.

Returns

A collection of all removed policy assertions or an empty collection if no assertions were found that match the specified name and namespace.

Applies to