Partilhar via


CreateSiteDelegate Delegate

Applies to v2.

Represents a class called by WebMatrix to create a new site.

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Public Delegate Function CreateSiteDelegate ( _
    myWebSitesFolder As DirectoryInfo, _
    <OutAttribute> ByRef webSiteFolder As DirectoryInfo _
) As Boolean
'Usage
Dim instance As New CreateSiteDelegate(AddressOf HandlerMethod)
public delegate bool CreateSiteDelegate(
    DirectoryInfo myWebSitesFolder,
    out DirectoryInfo webSiteFolder
)
public delegate bool CreateSiteDelegate(
    DirectoryInfo^ myWebSitesFolder, 
    [OutAttribute] DirectoryInfo^% webSiteFolder
)
type CreateSiteDelegate = 
    delegate of  
        myWebSitesFolder:DirectoryInfo * 
        webSiteFolder:DirectoryInfo byref -> bool
JScript supports the use of delegates, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean

See Also

Reference

Microsoft.WebMatrix.Extensibility Namespace