IVsIntellisenseProject.IsCompilableFile Method
Indicates whether or not a file can be compiled, based on its extension.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Déclaration
Function IsCompilableFile ( _
bstrFileName As String _
) As Integer
'Utilisation
Dim instance As IVsIntellisenseProject
Dim bstrFileName As String
Dim returnValue As Integer
returnValue = instance.IsCompilableFile(bstrFileName)
int IsCompilableFile(
string bstrFileName
)
int IsCompilableFile(
[InAttribute] String^ bstrFileName
)
abstract IsCompilableFile :
bstrFileName:string -> int
function IsCompilableFile(
bstrFileName : String
) : int
Parameters
- bstrFileName
Type: System.String
[in] String containing the file name.
Return Value
Type: System.Int32
Returns S_OK if the file can be compiled, S_FALSE otherwise.
.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