Update Method (Folder)
- Last UpdatedNov 06, 2025
- 2 minute read
The Update() method updates all columns of the specified folder record in the Folder table.
'Declaration
Public Shared Sub Update( _
ByVal sessionId As Integer, _
ByVal itemId As String, _
ByVal operId As String, _
ByVal entId As Integer, _
ByVal verId As String, _
ByVal operDesc As String, _
ByVal notes As String, _
ByVal udf1 As String, _
ByVal udf2 As String, _
ByVal preferredVer As Boolean, _
ByVal designHold As Boolean, _
ByRef lastEditAt As Date _
)
'Usage
Dim sessionId As Integer
Dim itemId As String
Dim operId As String
Dim entId As Integer
Dim verId As String
Dim operDesc As String
Dim notes As String
Dim udf1 As String
Dim udf2 As String
Dim preferredVer As Boolean
Dim designHold As Boolean
Dim lastEditAt As Date
Folder.Update(sessionId, itemId, operId, entId, verId, operDesc, notes, udf1, udf2, preferredVer, designHold, lastEditAt)
public static void Update(
int sessionId,
string itemId,
string operId,
int entId,
string verId,
string operDesc,
string notes,
string udf1,
string udf2,
bool preferredVer,
bool designHold,
ref DateTime lastEditAt
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- itemId
- Required. Holds the item identifier of the folder.
- operId
- Required. Holds the ID of the operation associated with the folder.
- entId
- Required. Holds the ID of the entity associated with the folder.
- verId
- Required. Holds the folder version.
- operDesc
- Required. Holds the description of the operation associated with the folder.
- notes
- Required. Holds notes about the folder.
- udf1
- Required. Holds the contents of the user-defined field 1 of the folder.
- udf2
- Required. Holds the contents of the user-defined field 2 of the folder.
- preferredVer
- Required. Holds the preferred version flag of the folder.
- designHold
- Required. Holds the design hold flag of the folder.
- lastEditAt
Required. Holds the date/time when this record was added or last updated, for optimistic concurrency control. If it is specified, the passed value must match the lastEditAt value in the record for the update to succeed. If a null value is passed, then optimistic concurrency will not be used.
Output. Holds the date/time value when the record was updated by this called method.