屬性 '<attributename>' 不可以多次套用
更新:2007 年 11 月
屬性 (Attribute) 只可以套用一次。AttributeUsage 屬性會決定是否可以多次套用屬性。
錯誤 ID︰BC30663
若要更正這個錯誤
請確定屬性 (Attribute) 只套用了一次。
如果您使用自行開發的自訂屬性,請考慮變更其 AttributeUsage 屬性,讓這些屬性可以多次使用,如下列範例所示。
<AttributeUsage(AllowMultiple := True)>