Specifies whether or not this configuration requires an application root path.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Function OutputsRequireAppRoot ( _
<OutAttribute> ByRef pfRequiresAppRoot As Integer _
) As Integer
'使用
Dim instance As ProjectConfig
Dim pfRequiresAppRoot As Integer
Dim returnValue As Integer
returnValue = instance.OutputsRequireAppRoot(pfRequiresAppRoot)
public virtual int OutputsRequireAppRoot(
out int pfRequiresAppRoot
)
public:
virtual int OutputsRequireAppRoot(
[OutAttribute] int% pfRequiresAppRoot
)
public function OutputsRequireAppRoot(
pfRequiresAppRoot : int
) : int
Parameters
pfRequiresAppRoot
Type: System.Int32%[out] Returns 0 if an application root path is not required, otherwise 1.
Return Value
Type: System.Int32
When implemented by derived classes, if the method succeeds, it returns [F:VisualStudio.VSConstants.S_OK.] If it fails, it returns an error code.
Implements
IVsProjectCfg2.OutputsRequireAppRoot(Int32%)
Remarks
By default this method returns pfRequiresAppRoot as 0 and a return code of E_NOTIMPL.
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.