VB.NETで、次のようなことができますか?
Interface X
<SomeAttrib> _
SomeProp as String
End Interface
これにより、Xを実装するクラスはSomePropにもSomeAttribを適用し、それ以外の場合はコンパイル(または実行)時のエラーが発生します。
Class XBox
Implements X
Public SomeProp as String Implements X.SomeProp
...
End Property
End Interface
上記はSomeProp
適用されないため、エラーが発生するはずSomeAttrib
です。