MethodBuilder.ReturnTypeCustomAttributes Property

Definition

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

public:
 virtual property System::Reflection::ICustomAttributeProvider ^ ReturnTypeCustomAttributes { System::Reflection::ICustomAttributeProvider ^ get(); };
public override System.Reflection.ICustomAttributeProvider ReturnTypeCustomAttributes { get; }
member this.ReturnTypeCustomAttributes : System.Reflection.ICustomAttributeProvider
Public Overrides ReadOnly Property ReturnTypeCustomAttributes As ICustomAttributeProvider

Property Value

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

Remarks

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

Applies to