PolicyAssertionCollection.Remove(String, String) Method

Definition

Removes the specified policy assertion from the collection.

public:
 System::Xml::XmlElement ^ Remove(System::String ^ localName, System::String ^ namespaceUri);
public System.Xml.XmlElement Remove (string localName, string namespaceUri);
override this.Remove : string * string -> System.Xml.XmlElement
Public Function Remove (localName As String, namespaceUri As String) As XmlElement

Parameters

localName
String

The local name of the policy assertion.

namespaceUri
String

The namespace of the policy assertion.

Returns

The policy assertion that was removed from the collection or null if the policy assertion was not in the collection.

Applies to