Compartir a través de


IVsDetermineWizardTrust.OnWizardInitiated Method

Indicates hat a wizard (project or item) is about to start running.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function OnWizardInitiated ( _
    pszTemplateFilename As String, _
    ByRef guidProjectType As Guid _
) As Integer
int OnWizardInitiated(
    string pszTemplateFilename,
    ref Guid guidProjectType
)
int OnWizardInitiated(
    [InAttribute] String^ pszTemplateFilename, 
    [InAttribute] Guid% guidProjectType
)
abstract OnWizardInitiated : 
        pszTemplateFilename:string * 
        guidProjectType:Guid byref -> int
function OnWizardInitiated(
    pszTemplateFilename : String, 
    guidProjectType : Guid
) : int

Parameters

  • pszTemplateFilename
    Type: String

    [in] The template file name.

  • guidProjectType
    Type: Guid%

    [in] The GUID that identifies the project type.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsDetermineWizardTrust Interface

Microsoft.VisualStudio.Shell.Interop Namespace