Делегат 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.
Параметры
- myWebSitesFolder
Тип: System.IO.DirectoryInfo
- webSiteFolder
Тип: System.IO.DirectoryInfo%
Возвращаемое значение
Тип: System.Boolean