다음을 통해 공유


'<typename>'은(는) 'System.AttributeUsageAttribute'를 포함하지 않으므로 특성으로 사용할 수 있습니다.

업데이트: 2007년 11월

'<typename>' cannot be used as an attribute because it does not have a 'System.AttributeUsageAttribute' attribute

System.AttributeUsageAttribute 없이 선언된 특성을 사용하여 그 사용을 정의하려고 했습니다.

오류 ID: BC31505

이 오류를 해결하려면

  • 사용자 지정 특성은 AttributeUsageAttribute 특성이 적용된 System.Attribute에서 파생된 클래스여야 합니다.

참고 항목

참조

AttributeUsageAttribute

기타 리소스

Visual Basic의 사용자 지정 특성