Delegado CreateSiteDelegate
Lo siguiente se aplica a v2.
Representa una clase que WebMatrix invoca para crear un nuevo sitio web.
Espacio de nombres: Microsoft.WebMatrix.Extensibility
Ensamblado: Microsoft.WebMatrix.Extensibility (en Microsoft.WebMatrix.Extensibility.dll)
Sintaxis
'Declaración
Public Delegate Function CreateSiteDelegate ( _
myWebSitesFolder As DirectoryInfo, _
<OutAttribute> ByRef webSiteFolder As DirectoryInfo _
) As Boolean
'Uso
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.
Parámetros
- myWebSitesFolder
Tipo: System.IO.DirectoryInfo
- webSiteFolder
Tipo: System.IO.DirectoryInfo%
Valor devuelto
Tipo: System.Boolean