Share via


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

屬性值

唯讀。 方法之傳回型別的自訂屬性。

備註

這個方法一律會傳回 nullMethodInfo在 上建立並叫ReturnTypeCustomAttributes用 包含Type之後,MethodInfo取得 。

適用於