NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MethodBuilder.ReturnTypeCustomAttributes

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;

Property Value

Read-only. The custom attributes of the method's return type.

Remarks

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.

See Also

MethodBuilder Class | MethodBuilder Members | System.Reflection.Emit Namespace