MemberInfo.CustomAttributes MemberInfo.CustomAttributes MemberInfo.CustomAttributes MemberInfo.CustomAttributes Property

定义

获取包含此成员自定义属性的集合。Gets a collection that contains this member's custom attributes.

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)

属性值

包含此成员的自定义特性的集合。A collection that contains this member's custom attributes.

适用于