File.GetFileID Method

Get a file id from a folder, based on its name
Public Shared Function GetFileID( _ 
ByVal file_name As String, _ 
ByVal folder_id As EntityID, _ 
ByVal db As IDatabase
) As EntityID
This language is not supported or no code example is available.
public static EntityID GetFileID( 
string file_name
EntityID folder_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static EntityID^ GetFileID( 
String^ file_name
EntityID^ folder_id
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function GetFileID( 
file_name : String
folder_id : EntityID
db : IDatabase 
) : EntityID;
This language is not supported or no code example is available.

Parameters

file_name
string

the name of the folder

folder_id
EntityID

the id of the folder

db
IDatabase

the connection to use

Return Value

EntityID

the id of the file

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition