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
)
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

See Also

Reference

IVsIntellisenseProject Interface

IVsIntellisenseProject Members

Microsoft.VisualStudio.Shell.Interop Namespace