MemberInfo.CustomAttributes 屬性

定義

取得包含此成員之自訂屬性的集合。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.

適用於