PropertyBuilder.AddOtherMethod(MethodBuilder) 方法

定义

添加与此属性关联的其他方法之一。

public:
 void AddOtherMethod(System::Reflection::Emit::MethodBuilder ^ mdBuilder);
public void AddOtherMethod(System.Reflection.Emit.MethodBuilder mdBuilder);
member this.AddOtherMethod : System.Reflection.Emit.MethodBuilder -> unit
Public Sub AddOtherMethod (mdBuilder As MethodBuilder)

参数

mdBuilder
MethodBuilder

一个 MethodBuilder 表示其他方法的对象。

例外

mdBuildernull

CreateType() 已在封闭类型上调用。

适用于