ToString Method
This documentation is archived and is not being maintained.

SPPersistedObject.ToString Method

Windows SharePoint Services 3

Returns the type and name of an object and of all its ancestors (parent, grandparent, and so on).

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override string ToString()

Return Value

Type: System.String
A string that contains the type and name of the object.
© 2016 Microsoft