Discuss this help topic in CBFS Forum

CbFsOpenedFilesSnapshot.ProcessName property

Filter:

Pascal    C++ (Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET    Java 

CbFsOpenedFilesSnapshot     See also    

Overview

Returns the name of the process which has opened the file.

Declaration

[Pascal]
    property ProcessName : TCBString;
    type TCBString = {$ifdef UNICODE}UnicodeString{$else}WideString{$endif};

[C++ (Lib)]
    const LPWSTR& get_ProcessName();

[C++ (VCL)]
    TCBString ProcessName;

[C++ (.NET)]
    String^ ProcessName;

[C#]
    String ProcessName;

[VB.NET]
    Public Property ProcessName As String

[Java]
    string getProcessName();

Description

Use this property to get the name of the process that has opened a file/handle. The value is available only after successful call to GetNextOpenedFile() method.

See also

ProcessID     GetNextOpenedFile

Discuss this help topic in CBFS Forum