This documentation is archived and is not being maintained.

DisplayName Property

Visual Studio .NET 2003

Returns the full name of the parent object.

[Visual Basic .NET]
Public ReadOnly Property DisplayName() As String
[Visual Basic 6]
Property Get DisplayName() As String
HRESULT __stdcall get_DisplayName(
   /* [out, retval] */ BSTR* retVal
public string DisplayName {get;}
[JScript .NET]
public function get DisplayName() : String


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


For an example of usage, see the Functions Property example.

See Also

Applies To: VCCodeAttribute Object | VCCodeBase Object | VCCodeClass Object | VCCodeDelegate Object | VCCodeElement Object | VCCodeEnum Object | VCCodeEvent Object | VCCodeFunction Object | VCCodeIDLCoClass Object | VCCodeIDLImport Object | VCCodeIDLImportLib Object | VCCodeIDLLibrary Object | VCCodeImport Object | VCCodeInclude Object | VCCodeInterface Object | VCCodeMacro Object | VCCodeMap Object | VCCodeMapEntry Object | VCCodeNamespace Object | VCCodeParameter Object | VCCodeProperty Object | VCCodeStruct Object | VCCodeTypedef Object | VCCodeUnion Object | VCCodeUsing Object | VCCodeVariable Object