ObjVerExExpandPlaceholderText Method

Returns a string with M-Files placeholders replaced with values. Supports ReferenceTree Syntax.

Definition

Namespace: MFiles.VAF.Common
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public string ExpandPlaceholderText(
	string text,
	bool hideMissingValues = true,
	bool useClientNumberFormat = false
)

Parameters

text  String
A string containing placeholders that should be replaced.
hideMissingValues  Boolean  (Optional)
Indicates whether placeholders should be left as they are if the object doesn't have a property referenced by a placeholder, instead of being replaced by an empty string. If set to false, format string can be passed to multiple objects.
useClientNumberFormat  Boolean  (Optional)
When true, any custom defined number format will be used.

Return Value

String
Expanded Text

See Also