Share via


SPPersistedTypeCollection constructor

Initializes a new instance of the [Microsoft.SharePoint.Administration.SPPersistedTypeCollection] class based on the given [System.Type] parameter within the given [Microsoft.SharePoint.Administration.SPFarm].

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

Syntax

'Declaration
Public Sub New ( _
    farm As SPFarm, _
    type As Type _
)
'Usage
Dim farm As SPFarm
Dim type As Type

Dim instance As New SPPersistedTypeCollection(farm, type)
public SPPersistedTypeCollection(
    SPFarm farm,
    Type type
)

Parameters

See also

Reference

SPPersistedTypeCollection class

SPPersistedTypeCollection members

Microsoft.SharePoint.Administration namespace