XmlQueryRuntime.EarlyBoundFunctionExists(String, String) 方法

定义

确定指定的早期绑定对象是否包含具有指定名称的方法。Determines whether the specified early-bound object contains a method with the specified name.

public:
 bool EarlyBoundFunctionExists(System::String ^ name, System::String ^ namespaceUri);
public bool EarlyBoundFunctionExists (string name, string namespaceUri);
member this.EarlyBoundFunctionExists : string * string -> bool
Public Function EarlyBoundFunctionExists (name As String, namespaceUri As String) As Boolean

参数

name
String

要查找的方法名称。The method name to look for.

namespaceUri
String

标识早期绑定对象。Identifies the early-bound object.

返回

Boolean

如果 namespaceUri 标识的早期绑定对象包含与 name 匹配的方法,则为 true;否则为 falsetrue if the early-bound object identified by namespaceUri contains a method that matches name; otherwise, false.

适用于