Venice
Artcl::GetNumParts
 
Gets the number of article parts.
 
SHORT GetNumParts ()
 
Return value
A SHORT containing the number of article parts of the current article.
 
See Also
CreateArtcl
Handling article parts using the SDK
PrepareParts
CancelParts
 
Samples
 
C++
 
// Get the number of article parts of the current article
short sNumParts;

pArtcl->PrepareParts (ppaView);

sNumParts = pArtcl->GetNumParts ();
    
if (sNumParts != 0)
{
    // Process data
}

pArtcl->CancelParts ();

C#
 
// Get the number of article parts of the current article
short sNumParts;

oArtcl.PrepareParts (ePreparePartsAction.ppaView);

sNumParts = oArtcl.GetNumParts ();
    
if (sNumParts != 0)
{
    // Process data
}

oArtcl.CancelParts ();

VBS
 
' Get the number of article parts of the current article
Dim sNumParts

Call oArtcl.PrepareParts(ppaView)

sNumParts = oArtcl.GetNumParts()

If sNumParts <> 0 Then
    ' Process data
End If

Call oArtcl.CancelParts()

VB.NET
 
' Get the number of article parts of the current article
Dim sNumParts As Short

oArtcl.PrepareParts(ePreparePartsAction.ppaView)

sNumParts = oArtcl.GetNumParts()
    
If sNumParts <> 0 Then
    ' Process data
End If

oArtcl.CancelParts()