共用方式為


VCPlatform.IsExecutable 方法

判斷檔案是否為可執行檔。

命名空間:  Microsoft.VisualStudio.VCProjectEngine
組件:  Microsoft.VisualStudio.VCProjectEngine (在 Microsoft.VisualStudio.VCProjectEngine.dll 中)

語法

'宣告
Function IsExecutable ( _
    Path As String _
) As Boolean
bool IsExecutable(
    string Path
)
bool IsExecutable(
    [InAttribute] String^ Path
)
abstract IsExecutable : 
        Path:string -> bool 
function IsExecutable(
    Path : String
) : boolean

參數

  • Path
    型別:System.String
    欲判斷之檔案的完整路徑。

傳回值

型別:System.Boolean
如果檔案是此平台的可執行檔,則為 true。

.NET Framework 安全性

請參閱

參考

VCPlatform 介面

Microsoft.VisualStudio.VCProjectEngine 命名空間