FileNamingRules.SuggestName (String, String, EntityID, EntityID, EntityID, Boolean, IDatabase) Method

Suggest a name for some rule
Public Shared Function SuggestName( _ 
ByVal rule As String, _ 
ByVal supplied_data As String, _ 
ByVal project_id As EntityID, _ 
ByVal folder_id As EntityID, _ 
ByVal user_id As EntityID, _ 
ByVal increment_counter As Boolean, _ 
ByVal db As IDatabase _ 
) As String
This language is not supported or no code example is available.
public static string SuggestName( 
string rule, 
string supplied_data, 
EntityID project_id, 
EntityID folder_id, 
EntityID user_id, 
bool increment_counter, 
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static String^ SuggestName( 
String^ rule, 
String^ supplied_data, 
EntityID^ project_id, 
EntityID^ folder_id, 
EntityID^ user_id, 
bool increment_counter, 
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function SuggestName( 
rule : String, 
supplied_data : String, 
project_id : EntityID, 
folder_id : EntityID, 
user_id : EntityID, 
increment_counter : boolean, 
db : IDatabase 
) : String;
This language is not supported or no code example is available.

Parameters

rule
string

the rule

supplied_data
string

the supplied data we already have

project_id
EntityID

the project id

folder_id
EntityID

the folder id

user_id
EntityID

the id of the user performing the operation

increment_counter
bool

whether to increment the counter if the suggested rule ends up including a counter

db
IDatabase

the db connection

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