ProjectConfig.get_IsPrivate Method

Gets whether a project is private or is shared.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Overridable Function get_IsPrivate ( _
    <OutAttribute> ByRef pfPrivate As Integer _
) As Integer
'使用
Dim instance As ProjectConfig
Dim pfPrivate As Integer
Dim returnValue As Integer

returnValue = instance.get_IsPrivate(pfPrivate)
public virtual int get_IsPrivate(
    out int pfPrivate
)
public:
virtual int get_IsPrivate(
    [OutAttribute] int% pfPrivate
)
public function get_IsPrivate(
    pfPrivate : int
) : int

Parameters

  • pfPrivate
    Type: System.Int32%

    [out] Returns 0 if the project is shared, 1 if it is private.

Return Value

Type: System.Int32

S_OK.

Implements

IVsProjectCfg2.get_IsPrivate(Int32%)

Remarks

By default pfPrivate is set to 0. When implemented by a derived class, should return the appropriate value.

Permissions

See Also

Reference

ProjectConfig Class

ProjectConfig Members

Microsoft.VisualStudio.Package Namespace