Get the element type of a known element file

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

Public Shared Function GetElementType( _ 
ByVal file_id As EntityID, _ 
ByVal db As IDatabase
) As TDElementType
This language is not supported or no code example is available.
public static TDElementType GetElementType( 
EntityID file_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static TDElementType GetElementType( 
EntityID^ file_id
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function GetElementType( 
file_id : EntityID
db : IDatabase 
) : TDElementType;
This language is not supported or no code example is available.

Parameters

file_id
Type: EntityID

the file id

db
Type: IDatabase

the db id

Return Value

Type: TDElementType

the type - will throw if not found

.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