Export (0) Print
Expand All

MethodBuilder.ReturnTypeCustomAttributes Property

Returns the custom attributes of the method's return type.

[Visual Basic]
Overrides Public ReadOnly Property ReturnTypeCustomAttributes As _
   ICustomAttributeProvider
[C#]
public override ICustomAttributeProvider ReturnTypeCustomAttributes
   {get;}
[C++]
public: __property ICustomAttributeProvider*
   get_ReturnTypeCustomAttributes();
[JScript]
public override 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 (Nothing in Visual Basic). Get the MethodInfo after the containing Type has been created and invoked ReturnTypeCustomAttributes on the MethodInfo.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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

Show:
© 2014 Microsoft