Partager via


IVsProjectCfg2.get_IsPrivate Method

Obsolete method. Returns whether or not a configuration is private or shared.

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

Syntax

'Declaration
Function get_IsPrivate ( _
    <OutAttribute> ByRef pfPrivate As Integer _
) As Integer
int get_IsPrivate(
    out int pfPrivate
)
int get_IsPrivate(
    [OutAttribute] int% pfPrivate
)
abstract get_IsPrivate : 
        pfPrivate:int byref -> int
function get_IsPrivate(
    pfPrivate : int
) : int

Parameters

  • pfPrivate
    Type: Int32%

    [out] Pointer to a flag set to true if the configuration is private and false if it is shared.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsProjectCfg2::get_IsPrivate(
   [out]BOOL *pfPrivate
);

This method will be used in the future to support distinguishing between shared and private configurations. Currently, there is no such distinction and projects should always return false in the contents of pfPrivate.

.NET Framework Security

See Also

Reference

IVsProjectCfg2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace