Project::GetNumDetails (Interface: Project)
 
Gets the number of project details.
 
SHORT GetNumDetails ()
 
Return value
A SHORT containing the number of project details of the current project.
 
See Also
CreateProject
Handling projects using the SDK
PrepareProject
CancelProject
 
Samples
 
C++
 
// Get the number of project details of the current project
short sNumDetails;

pProject->PrepareProject (paView);

sNumDetails = pProject->GetNumDetails ();
    
if (sNumDetails != 0)
{
    // Process data
}

pProject->CancelProject ();

C#
 
// Get the number of project details of the current project
short sNumDetails;

oProject.PrepareProject (ePrepareAction.paView);

sNumDetails = oProject.GetNumDetails ();
    
if (sNumDetails != 0)
{
    // Process data
}

oProject.CancelProject ();

VBS
 
' Get the number of project details of the current project
Dim sNumDetails

Call oProject.PrepareProject(paView)

sNumDetails = oProject.GetNumDetails()

If sNumDetails <> 0 Then
    ' Process data
End If

Call oProject.CancelProject()

VB.NET
 
' Get the number of project details of the current project
Dim sNumDetails As Short

oProject.PrepareProject(ePrepareAction.paView)

sNumDetails = oProject.GetNumDetails()
    
If sNumDetails <> 0 Then
    ' Process data
End If

oProject.CancelProject()