语言

ProtocolImporter.GenerateMethod 方法

定义

在派生类中重写时,为绑定类生成方法代码。

protected:
 abstract System::CodeDom::CodeMemberMethod ^ GenerateMethod();
protected abstract System.CodeDom.CodeMemberMethod GenerateMethod();
abstract member GenerateMethod : unit -> System.CodeDom.CodeMemberMethod
Protected MustOverride Function GenerateMethod () As CodeMemberMethod

返回

生成的方法。

注解

生成代码时,该 ProtocolImporter 类 GenerateMethod 调用表示操作的每个绑定类方法的方法。

适用于