Returns a string that represents the value of the Name property, the Path property, or the type name.
Syntax
CSharp
public override string ToString ()
VisualBasic
Public Overrides Function ToString As String
ManagedCPlusPlus
public:
virtual String^ ToString () override
JSharp
Return Value
Return Value
The value of the Name property if it is defined or the value of the Path property if it is defined; otherwise, the value of the Name property for the class.
Assembly: System.Web.Extensions (Module: System.Web.Extensions)