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 Получите после создания и вызова ReturnTypeCustomAttributes содержащего Type объекта в объекте MethodInfo.

Применяется к