| Visual Basic (Declaration) | |
|---|---|
Public NotInheritable Class DataKeyAttribute Inherits System.Attribute | |
| C# | |
|---|---|
public sealed class DataKeyAttribute : System.Attribute | |
| C++/CLI | |
|---|---|
public ref class DataKeyAttribute sealed : public System.Attribute | |
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)