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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.