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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsPublishableProjectCfg Interface