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
- myWebSitesFolder
Type: System.IO.DirectoryInfo
- webSiteFolder
Type: System.IO.DirectoryInfo%
Return Value
Type: System.Boolean