Click or drag to resize

ObjVerExExpandPlaceholderText Method

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

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

Parameters

text
Type: SystemString
A string containing placeholders that should be replaced.
hideMissingValues (Optional)
Type: SystemBoolean
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 (Optional)
Type: SystemBoolean
When true, any custom defined number format will be used.

Return Value

Type: String
Expanded Text
See Also