GetAttrValue(String,String,String,String) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetAttrsValue () method retrieves an object of the AttrValue class, which contains the attribute value, last_edit_at, mod_ID, and the attribute ID, for the specified attribute. This overload of the method uses the attribute name, attribute table name, and one filter item to specify the attribute being retrieved.
'Declaration
Public Overloads Shared Function GetAttrValue( _
ByVal attrName As String, _
ByVal tableName As String, _
ByVal filterField As String, _
ByVal filterValue As String _
) As Attrs.attrValue
public static Attrs.attrValue GetAttrValue(
string attrName,
string tableName,
string filterField,
string filterValue
)
Parameters
- attrName
- Required. Holds the name of the attribute whose AttrValue class is being retrieved.
- tableName
- Required. Holds the name of the attribute table to be read; for example, "item_attr" for item attributes.
- filterField
- Required. Holds the filter field to be used; for example, "item_id".
- filterValue
- Required. Holds the filter value associated with the filter field.
Return Value
Returns an AttrValue object for the specified attribute.