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