Returns the custom attributes of the method's return type.
[Visual Basic] Overridable Public ReadOnly Property ReturnTypeCustomAttributes As _ ICustomAttributeProvider [C#] public ICustomAttributeProvider ReturnTypeCustomAttributes {override get;} [C++] public: __property virtual ICustomAttributeProvider* get_ReturnTypeCustomAttributes(); [JScript] public function get ReturnTypeCustomAttributes() : ICustomAttributeProvider;
Read-only. The custom attributes of the method's return type.
This method always returns a null reference (in Visual Basic Nothing) at this time. As a workaround, get the MethodInfo after the containing Type has been created and invoked ReturnTypeCustomAttributes on the MethodInfo.
MethodBuilder Class | MethodBuilder Members | System.Reflection.Emit Namespace