Attribute.AddAttributeEnumItem Method

Add an enum item to an enum attribute
Public Shared Function AddAttributeEnumItem( _ 
ByVal server_id As ServerID, _ 
ByVal attribute_id As EntityID, _ 
ByVal value As String, _ 
ByVal order As Integer, _ 
ByVal db As IDatabase
) As EntityID
This language is not supported or no code example is available.
public static EntityID AddAttributeEnumItem( 
ServerID server_id
EntityID attribute_id
string value
int order
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static EntityID^ AddAttributeEnumItem( 
ServerID^ server_id
EntityID^ attribute_id
String^ value
int order
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function AddAttributeEnumItem( 
server_id : ServerID
attribute_id : EntityID
value : String
order : int
db : IDatabase 
) : EntityID;
This language is not supported or no code example is available.

Parameters

server_id
ServerID

the server details

attribute_id
EntityID

the id of the attribute this belongs to

value
string

the value of the enum item

order
int

the order of the item

db
IDatabase

the database object to use

Return Value

EntityID

the id of the created enum item

.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