ToString Method

It just so happens that object.ToString() has the right interface to become an IDispatch property, but we don't want to create a ProjectExtender.ToString property, so we need to explicitly implment this method in order to hide it from COM.

Namespace:  Microsoft.VisualStudio.Data.Tools.Package.Project
Assembly:  Microsoft.VisualStudio.Data.Tools.Package (in Microsoft.VisualStudio.Data.Tools.Package.dll)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Overrides Function ToString As String
'Usage
Dim instance As DatabaseProjectExtenderBase
Dim returnValue As String

returnValue = instance.ToString()
[ComVisibleAttribute(false)]
public override string ToString()
[ComVisibleAttribute(false)]
public:
virtual String^ ToString() override
[<ComVisibleAttribute(false)>]
abstract ToString : unit -> string 
[<ComVisibleAttribute(false)>]
override ToString : unit -> string 
public override function ToString() : String

Return Value

Type: System..::..String
The string representation of this class

See Also

Reference

DatabaseProjectExtenderBase Class

Microsoft.VisualStudio.Data.Tools.Package.Project Namespace