| 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
)
Public MustOverride Function PeakNextValue (
poActiveProject As CTProject,
bsDependentPropVal As String
) As String
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:
StringFormatted serial number
See Also