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)


Public Delegate Function CreateSiteDelegate ( _
    myWebSitesFolder As DirectoryInfo, _
    <OutAttribute> ByRef webSiteFolder As DirectoryInfo _
) As Boolean
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.


Return Value

Type: System.Boolean

See Also


Microsoft.WebMatrix.Extensibility Namespace