Share via


SPOfficialFileHost Constructor (Boolean)

Initializes a new instance of the SPOfficialFileHost class. This constructor receives a Boolean value that specifies whether a GUID should be associated with this host.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub New ( _
    bCreateUniqueId As Boolean _
)
'Usage
Dim bCreateUniqueId As Boolean

Dim instance As New SPOfficialFileHost(bCreateUniqueId)
public SPOfficialFileHost(
    bool bCreateUniqueId
)

Parameters

  • bCreateUniqueId
    Type: System.Boolean

    true if this host should be associated with a GUID; otherwise false.

See Also

Reference

SPOfficialFileHost Class

SPOfficialFileHost Members

SPOfficialFileHost Overload

Microsoft.SharePoint Namespace