Add an enum item to an enum attribute

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

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
Type: ServerID

the server details

attribute_id
Type: EntityID

the id of the attribute this belongs to

value
Type: string

the value of the enum item

order
Type: int

the order of the item

db
Type: IDatabase

the database object to use

Return Value

Type: 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