Check if a file extension is allowed in a given folder

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

Public Shared Function IsFileExtensionAllowed( _ 
ByVal ext As String, _ 
ByVal folder_id As EntityID, _ 
ByVal db As IDatabase
) As Boolean
This language is not supported or no code example is available.
public static bool IsFileExtensionAllowed( 
string ext
EntityID folder_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static bool IsFileExtensionAllowed( 
String^ ext
EntityID^ folder_id
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function IsFileExtensionAllowed( 
ext : String
folder_id : EntityID
db : IDatabase 
) : boolean;
This language is not supported or no code example is available.

Parameters

ext
Type: string

the extension

folder_id
Type: EntityID

the folder id

db
Type: IDatabase

the connection to use

Return Value

Type: bool

whether or not it's allowed

.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