Add one of the other methods associated with this property.
[Visual Basic] Public Sub AddOtherMethod( _ ByVal mdBuilder As MethodBuilder _ ) [C#] public void AddOtherMethod( MethodBuilder mdBuilder ); [C++] public: void AddOtherMethod( MethodBuilder* mdBuilder ); [JScript] public function AddOtherMethod( mdBuilder : MethodBuilder );
Exception Type | Condition |
---|---|
ArgumentNullException | if mdBuilder is a null reference (in Visual Basic Nothing) |
Should throw the following exceptions but does not currently do so:
if mdBuilder is null.
if the containing type has been created using TypeBuilder.CreateType.
PropertyBuilder Class | PropertyBuilder Members | System.Reflection.Emit Namespace