FileNamingRules.SuggestName (String, String, EntityID, EntityID, Boolean, List<EntityID>, IDatabase) Method

Given a file extension, try suggest a name
Public Shared Function SuggestName( _ 
ByVal ext As String, _ 
ByVal supplied_data As String, _ 
ByVal folder_id As EntityID, _ 
ByVal user_id As EntityID, _ 
ByVal increment_counter As Boolean, _ 
ByVal rule_ids As List(Of EntityID), _ 
ByVal db As IDatabase
) As String
This language is not supported or no code example is available.
public static string SuggestName( 
string ext
string supplied_data
EntityID folder_id
EntityID user_id
bool increment_counter
List<EntityID> rule_ids
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static String^ SuggestName( 
String^ ext
String^ supplied_data
EntityID^ folder_id
EntityID^ user_id
bool increment_counter
List<EntityID^>^ rule_ids
IDatabase^ db 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

ext
string

the extension

supplied_data
string

the supplied data

folder_id
EntityID

the folder id

user_id
EntityID

the user id

increment_counter
bool

whether to increment the counter if the suggestion ends up being a rule that contains a counter

rule_ids
List<EntityID>

the rule id's to check against, or leave null to check against all possible rules for this file

db
IDatabase

the db db

Return Value

string

the result

.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