Click or drag to resize

SequenceExtensionPeakNextValue Method

Provide next value if possible to preview it in the GetCode dialog box but don't reserve it yet. CUSTOMTOOLS supports showing the next number only when it's possible. You can also return an empty string here.

Namespace:  CTExtensions.Interfaces
Assembly:  CTInterface (in CTInterface.dll)
Syntax
public abstract string PeakNextValue(
	CTProject poActiveProject,
	string bsDependentPropVal
)

Parameters

poActiveProject
Type: CTProject
Currently active CUSTOMTOOLS project. This can be used to generate a project specific number. This may be null for instance in the Options.
bsDependentPropVal
Type: SystemString
Value of the dependent custom property whose ID you have provided in the GetDependentPropertyID method. Empty if you haven't requested any property value.

Return Value

Type: String
Formatted serial number
See Also