CreateSiteDelegate 委托

适用于版本2

表示由 WebMatrix 调用,用来创建新站点的类。

命名空间:  Microsoft.WebMatrix.Extensibility
程序集:  Microsoft.WebMatrix.Extensibility(在 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.

参数

返回值

类型:System.Boolean

请参阅

参考

Microsoft.WebMatrix.Extensibility 命名空间