MethodBuilder.ReturnTypeCustomAttributes 属性

定义

返回此方法的返回类型的自定义属性。

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

属性值

只读。 此方法的返回类型的自定义属性。

注解

此方法始终返回 null。 在 MethodInfo 创建包含 Type 并在 上调用 ReturnTypeCustomAttributes 后获取 MethodInfo

适用于