VCPlatform.IsExecutable Method
Determines if a file is an executable.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
'宣告
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
Parameters
- Path
Type: System.String
Full path to the file in question.
Return Value
Type: System.Boolean
true if the file is an executable for this platform.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.