共用方式為


VCCodeAttribute.DisplayName Property

Definition

Gets the full name of the attribute.

public:
 property System::String ^ DisplayName { System::String ^ get(); };
public:
 property Platform::String ^ DisplayName { Platform::String ^ get(); };
[System.Runtime.InteropServices.DispId(512)]
public string DisplayName { [System.Runtime.InteropServices.DispId(512)] [System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)] get; }
[<System.Runtime.InteropServices.DispId(512)>]
[<get: System.Runtime.InteropServices.DispId(512)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)>]
member this.DisplayName : string
Public ReadOnly Property DisplayName As String

Property Value

A string representing the name of the attribute.

Attributes

Remarks

In most cases, the DisplayName property returns the same result as the Name property. However, for function declaration elements, the entire signature of the function declaration is returned.

Applies to