Bagikan melalui


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

'Declaration
Function ShowPublishPrompt ( _
    <OutAttribute> ByRef pfContinue As Integer _
) As Integer
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

Microsoft.VisualStudio.Shell.Interop Namespace