Share via


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

'Declaration
Function IsCompilableFile ( _
    bstrFileName As String _
) As Integer
int IsCompilableFile(
    string bstrFileName
)
int IsCompilableFile(
    [InAttribute] String^ bstrFileName
)
abstract IsCompilableFile : 
        bstrFileName:string -> int
function IsCompilableFile(
    bstrFileName : String
) : int

Parameters

  • bstrFileName
    Type: String

    [in] String containing the file name.

Return Value

Type: Int32
Returns S_OK if the file can be compiled, S_FALSE otherwise.

.NET Framework Security

See Also

Reference

IVsIntellisenseProject Interface

Microsoft.VisualStudio.Shell.Interop Namespace