Compartilhar via


IVsPublishableProjectCfg.QueryStartPublish(UInt32, Int32[], Int32[]) Method

Definition

Queries whether the project supports publishing and whether or not the project is ready for publishing.

int QueryStartPublish(unsigned int dwOptions, std::Array <int> const & pfSupported, std::Array <int> const & pfReady);
public int QueryStartPublish (uint dwOptions, int[] pfSupported, int[] pfReady);
abstract member QueryStartPublish : uint32 * int[] * int[] -> int
Public Function QueryStartPublish (dwOptions As UInteger, Optional pfSupported As Integer(), Optional pfReady As Integer()) As Integer

Parameters

dwOptions
UInt32

[in] Integer. Bit flags specifying query options. Left to the implementer.

pfSupported
Int32[]

[out] Optional. Boolean. Set to true if publishing is supported. Otherwise, false.

pfReady
Int32[]

[out] Optional. Boolean. Set to true if the project is ready for publishing. Otherwise, false.

Returns

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::QueryStartPublish(  
   [in] DWORD dwOptions,   
   [out, optional] BOOL *pfSupported,   
   [out, optional] BOOL *pfReady  
);  

Applies to