MethodBuilder.ReturnTypeCustomAttributes Property

 

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

Namespace:   System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

public override ICustomAttributeProvider ReturnTypeCustomAttributes { get; }

Property Value

Type: System.Reflection.ICustomAttributeProvider

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

This method always returns null. Get the MethodInfo after the containing Type has been created and invoked ReturnTypeCustomAttributes on the MethodInfo.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Return to top
Show: