Compartir a través de


IVsPublishableProjectCfg.QueryStartPublish Method

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

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

Syntax

'Declaration
Function QueryStartPublish ( _
    dwOptions As UInteger, _
    <OutAttribute> pfSupported As Integer(), _
    <OutAttribute> pfReady As Integer() _
) As Integer
int QueryStartPublish(
    uint dwOptions,
    int[] pfSupported,
    int[] pfReady
)
int QueryStartPublish(
    [InAttribute] unsigned int dwOptions, 
    [OutAttribute] array<int>^ pfSupported, 
    [OutAttribute] array<int>^ pfReady
)
abstract QueryStartPublish : 
        dwOptions:uint32 * 
        pfSupported:int[] byref * 
        pfReady:int[] byref -> int
function QueryStartPublish(
    dwOptions : uint, 
    pfSupported : int[], 
    pfReady : int[]
) : int

Parameters

  • dwOptions
    Type: UInt32

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

  • pfSupported
    Type: array<Int32[]

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

  • pfReady
    Type: array<Int32[]

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

Return Value

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

.NET Framework Security

See Also

Reference

IVsPublishableProjectCfg Interface

Microsoft.VisualStudio.Shell.Interop Namespace