 | 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.InterfacesAssembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntaxpublic abstract string PeakNextValue(
CTProject poActiveProject,
string bsDependentPropVal
)
Public MustOverride Function PeakNextValue (
poActiveProject As CTProject,
bsDependentPropVal As String
) As String
Parameters
- poActiveProject 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 String
- 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
StringFormatted serial number
See Also