MemberInfo.CustomAttributes 属性

定义

获取包含此成员自定义属性的集合。

public:
 virtual property System::Collections::Generic::IEnumerable<System::Reflection::CustomAttributeData ^> ^ CustomAttributes { System::Collections::Generic::IEnumerable<System::Reflection::CustomAttributeData ^> ^ get(); };
public virtual System.Collections.Generic.IEnumerable<System.Reflection.CustomAttributeData> CustomAttributes { get; }
member this.CustomAttributes : seq<System.Reflection.CustomAttributeData>
Public Overridable ReadOnly Property CustomAttributes As IEnumerable(Of CustomAttributeData)

属性值

包含此成员的自定义特性的集合。

适用于