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
用法
Dim instance As VCPlatform
Dim Path As String
Dim returnValue As Boolean
returnValue = instance.IsExecutable(Path)
bool IsExecutable(
string Path
)
bool IsExecutable(
[InAttribute] String^ Path
)
function IsExecutable(
Path : String
) : boolean
Parameters
Path
Type: System.StringFull path to the file in question.
Return Value
Type: System.Boolean
true if the file is an executable for this platform.
Permissions
- 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.