共用方式為


IVsPublishableProjectCfg.QueryStatusPublish Method

Queries about the status of an ongoing publishing operation.

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

Syntax

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

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

Parameters

  • pfPublishDone
    Type: System.Int32%
    [out] Pointer to a Boolean. Set to true if the publishing is done, false otherwise.

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::QueryStatusPublish(
   [out] BOOL *pfPublishDone
);

.NET Framework Security

See Also

Reference

IVsPublishableProjectCfg Interface

IVsPublishableProjectCfg Members

Microsoft.VisualStudio.Shell.Interop Namespace