CreateSiteDelegate デリゲート
v2 に適用されます。
新しいサイトを作成するために 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%