IVsIntellisenseProject.IsWebFileRequiredByProject Method
Indicates whether or not an Intellisense project can include Web files. Visual Basic projects cannot, Visual C# projects can.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣言
Function IsWebFileRequiredByProject ( _
<OutAttribute> ByRef pbReq As Integer _
) As Integer
'使用
Dim instance As IVsIntellisenseProject
Dim pbReq As Integer
Dim returnValue As Integer
returnValue = instance.IsWebFileRequiredByProject(pbReq)
int IsWebFileRequiredByProject(
out int pbReq
)
int IsWebFileRequiredByProject(
[OutAttribute] int% pbReq
)
abstract IsWebFileRequiredByProject :
pbReq:int byref -> int
function IsWebFileRequiredByProject(
pbReq : int
) : int
Parameters
- pbReq
Type: System.Int32%
[out] Boolean. Set to true if the Web files can be added to the Intellisense project.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.NET Framework Security
- 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.
See Also
Reference
IVsIntellisenseProject Interface