Dossier::CreateArtGrp (Interface: Dossier)
 
Creates an Article Group object.
 
IArtGrp* CreateArtGrp (
    VARIANT_BOOL bCanChange
)
 
Parameters
bCanChange
[in] True if you want to make changes (perform inserts, updates or deletes) to the object you are creating, otherwise false.
 
Remarks
How to explicitly destroy this object?
C++
pArtGrp = NULL
The object is destroyed immediately.
C#
System.Runtime.InteropServices.Marshal.ReleaseComObject(oArtGrp)
oArtGrp = null
By assigning the object to null the object is released (the reference count is decremented) but not destroyed. The garbage collector decides when the object is actually destroyed. Adding the ReleaseComObject-statement speeds up the actual destruction of the object.
VBS
Set oArtGrp = Nothing
The object is destroyed immediately.
VBN
System.Runtime.InteropServices.Marshal.ReleaseComObject(oArtGrp)
oArtGrp = Nothing
By assigning the object to Nothing the object is released (the reference count is decremented) but not destroyed. The garbage collector decides when the object is actually destroyed. Adding the ReleaseComObject-statement speeds up the actual destruction of the object.
 
See Also
CreateDossierContext
 
Samples
 
C++
 
IArtGrpPtr pArtGrp = pDossier->CreateArtGrp (VARIANT_TRUE);

C#
 
ArtGrp oArtGrp = oDossier.CreateArtGrp (true);

VBS
 
Dim oArtGrp
Set oArtGrp = oDossier.CreateArtGrp(True)

VB.NET
 
Dim oArtGrp As ClSdk.ArtGrp
oArtGrp = oDossier.CreateArtGrp(True)