共用方式為


IVsPublishableProjectCfg.ShowPublishPrompt Method

Displays a prompt to ask whether or not a publishing operation should be done.

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

Syntax

'宣告
Function ShowPublishPrompt ( _
    <OutAttribute> ByRef pfContinue As Integer _
) As Integer
'用途
Dim instance As IVsPublishableProjectCfg
Dim pfContinue As Integer
Dim returnValue As Integer

returnValue = instance.ShowPublishPrompt(pfContinue)
int ShowPublishPrompt(
    out int pfContinue
)
int ShowPublishPrompt(
    [OutAttribute] int% pfContinue
)
abstract ShowPublishPrompt : 
        pfContinue:int byref -> int 
function ShowPublishPrompt(
    pfContinue : int
) : int

Parameters

  • pfContinue
    Type: System.Int32%
    [out] Boolean. Set to true if the publishing should continue.

Return Value

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

Remarks

COM Signature

From vsshell80.idl:

[C++]

HRESULT IVsPublishableProjectCfg::ShowPublishPrompt(
   [out] BOOL *pfContinue
);

.NET Framework Security

See Also

Reference

IVsPublishableProjectCfg Interface

IVsPublishableProjectCfg Members

Microsoft.VisualStudio.Shell.Interop Namespace