SPPersistedObject Constructor (String, SPPersistedObject, Guid)
Initializes a new instance of the SPPersistedObject class based on the specified name, parent object, and GUID.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ProtectedConstructor)> _
Protected Sub New ( _
name As String, _
parent As SPPersistedObject, _
id As Guid _
)
'Usage
Dim name As String
Dim parent As SPPersistedObject
Dim id As Guid
Dim instance As New SPPersistedObject(name, parent, _
id)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ProtectedConstructor)]
protected SPPersistedObject(
string name,
SPPersistedObject parent,
Guid id
)
Parameters
name
Type: System.StringA string that contains a name for the persisted object.
parent
Type: Microsoft.SharePoint.Administration.SPPersistedObjectThe parent object.
id
Type: System.GuidA unique identifier for the persisted object.