Click or drag to resize

IndexLoopToString Method (String)

Converts the loop value to its string representation.

Namespace:  HightlanderSolutions.MeshCheckerEditorExtension.MeshAnalysisFramework
Assembly:  MeshCheckerLibrary (in MeshCheckerLibrary.dll) Version: 2.3
Syntax
C#
[PublicAPIAttribute]
public string ToString(
	[NotNullAttribute] string format
)

Parameters

format
Type: SystemString
A custom format string.

Return Value

Type: String
The string representation of the value of this instance.
Exceptions
ExceptionCondition
ArgumentExceptionFormat are null or empty.
Remarks

Use «%min%» for Min value.

Use «%max%» for Max value.

Use «%index%» for current index in loop.

Use «%current%» for Current value.

Use «%count%» for indices count value.

Examples
public string GetIndexToCountRepresentation(IndexLoop loop)
{
    return loop.ToString("%index%/%count%");
}
See Also