DeleteAll Method (ItemClassAttr)
- Last UpdatedNov 06, 2025
- 1 minute read
The DeleteAll() method removes one or more item class attribute records from the Item_Class_Attr table, as specified by the filter parameters. Passing no filter parameters will remove all item class attribute records from the table.
'Declaration
Public Shared Sub DeleteAll( _
ByVal sessionId As Integer, _
ByVal itemClassId As String, _
ByVal attrId As Nullable(Of Integer) _
)
'Usage
Dim sessionId As Integer
Dim itemClassId As String
Dim attrId As Nullable(Of Integer)
ItemClassAttr.DeleteAll(sessionId, itemClassId, attrId)
public static void DeleteAll(
int sessionId,
string itemClassId,
Nullable<int> attrId
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- itemClassId
- Optional filter parameter. Holds the ID of the item class for which an attribute(s) is being deleted.
- attrId
- Optional filter parameter. Holds the ID of the attribute that is being deleted from the item class(es).