GetAttrID(String,Nullable<Int32>) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetAttrID() method retrieves the ID of the specified attribute. This overload of the method allows the use of the attribute group ID as a filter.
'Declaration
Public Overloads Shared Function GetAttrID( _
ByVal attrName As String, _
ByVal attr_grp As Nullable(Of Integer) _
) As Integer
public static int GetAttrID(
string attrName,
Nullable<int> attr_grp
)
Parameters
- attrName
- Required. Holds the name of the attribute to look up.
- attr_grp
- Optional. Holds the attribute group type.
Return Value
Returns an integer representing the attribute ID.