다음을 통해 공유


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 네임스페이스