Freigeben über


VCPlatform.IsExecutable(String) Method

Definition

Determines if a file is an executable.

public:
 bool IsExecutable(System::String ^ Path);
public:
 bool IsExecutable(Platform::String ^ Path);
bool IsExecutable(std::wstring const & Path);
[System.Runtime.InteropServices.DispId(2523)]
public bool IsExecutable (string Path);
[<System.Runtime.InteropServices.DispId(2523)>]
abstract member IsExecutable : string -> bool
Public Function IsExecutable (Path As String) As Boolean

Parameters

Path
String

Full path to the file in question.

Returns

true if the file is an executable for this platform.

Attributes

Applies to