MethodBuilder.ReturnTypeCustomAttributes Property
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Returns the custom attributes of the method's return type.
Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property ReturnTypeCustomAttributes As ICustomAttributeProvider
public override ICustomAttributeProvider ReturnTypeCustomAttributes { get; }
Property Value
Type: System.Reflection.ICustomAttributeProvider
The custom attributes of the method's return type.
Remarks
This method always returns nulla null reference (Nothing in Visual Basic). Get the MethodInfo after the containing Type has been created and call ReturnTypeCustomAttributes on the MethodInfo.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.