PolicyAssertionCollection.FindAll(String, String) 方法

定义

返回所有指定的策略断言。Returns all specified policy assertions.

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

参数

localName
String

策略断言的本地名称。The local name of the policy assertion.

namespaceUri
String

策略断言的命名空间。The namespace of the policy assertion.

返回

Collection<XmlElement>

与规范匹配的所有策略断言的集合,或空集合。A collection of all policy assertions that match the specification, or an empty collection.

适用于