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

'宣言
Function IsCompilableFile ( _
    bstrFileName As String _
) As Integer
'使用
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
)
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.

Permissions

See Also

Reference

IVsIntellisenseProject Interface

IVsIntellisenseProject Members

Microsoft.VisualStudio.Shell.Interop Namespace