|
Gets the index for the project detail with the given sequence number. |
|
|
SHORT IndexFromSeqNum ( SHORT sSeqNum ) |
|
|
Parameters | sSeqNum | [in] The sequence number of the project detail of which you want to know the index. | | Return value |
A SHORT containing the index of the project detail with the given sequence number. If no detail was found with the given sequence number, -1 is returned. |
|
See Also |
|
|
|
Samples |
|
|
C++ |
|
// Get the index of the project detail with sequence number 7 of the current project
short sIndex;
pProject->PrepareProject (paView);
sIndex = pProject->IndexFromSeqNum (7);
pProject->CancelProject ();
|
|
|
C# |
|
// Get the index of the project detail with sequence number 7 of the current project
short sIndex;
oProject.PrepareProject (ePrepareAction.paView);
sIndex = oProject.IndexFromSeqNum (7);
oProject.CancelProject ();
|
|
|
VBS |
|
' Get the index of the project detail with sequence number 7 of the current project
Dim sIndex
Call oProject.PrepareProject(paUpdate)
sIndex = oProject.IndexFromSeqNum(7)
Call oProject.CancelProject()
|
|
|
VB.NET |
|
' Get the index of the project detail with sequence number 7 of the current project
Dim sIndex As short
oProject.PrepareProject(ePrepareAction.paUpdate)
sIndex = oProject.IndexFromSeqNum(7)
oProject.CancelProject()
|
|