Visual Basic (Declaration) | |
---|---|
<AttributeUsageAttribute(ValidOn=AttributeTargets.Class Or _ AttributeTargets.Method Or _ AttributeTargets.Property Or _ AttributeTargets.Parameter, AllowMultiple=False, Inherited=False)> Public NotInheritable Class DisplayNameAttribute Inherits System.ComponentModel.DisplayNameAttribute |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As DisplayNameAttribute |
C# | |
---|---|
[AttributeUsage(ValidOn=AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple=false, Inherited=false)] public sealed class DisplayNameAttribute : System.ComponentModel.DisplayNameAttribute |
C++/CLI | |
---|---|
[AttributeUsage(ValidOn=AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple=false, Inherited=false)] public ref class DisplayNameAttribute sealed : public System.ComponentModel.DisplayNameAttribute |
System.Object
System.Attribute
System.ComponentModel.DisplayNameAttribute
SourceCode.Framework.DisplayNameAttribute
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2