共用方式為


IVsIntellisenseProject.IsCompilableFile(String) Method

Definition

Indicates whether or not a file can be compiled, based on its extension.

public:
 int IsCompilableFile(System::String ^ bstrFileName);
public:
 int IsCompilableFile(Platform::String ^ bstrFileName);
int IsCompilableFile(std::wstring const & bstrFileName);
public int IsCompilableFile (string bstrFileName);
abstract member IsCompilableFile : string -> int
Public Function IsCompilableFile (bstrFileName As String) As Integer

Parameters

bstrFileName
String

[in] String containing the file name.

Returns

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

Applies to