Venice
Dossier::CreateAccProp
 
Creates an Accounting Proposal object.
 
IAccProp* CreateAccProp (
    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++
pAccProp = NULL
The object is destroyed immediately.
C#
System.Runtime.InteropServices.Marshal.ReleaseComObject(oAccProp)
oAccProp = 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 oAccProp = Nothing
The object is destroyed immediately.
VBN
System.Runtime.InteropServices.Marshal.ReleaseComObject(oAccProp)
oAccProp = 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++
 
IAccPropPtr pAccProp = pDossier->CreateAccProp (VARIANT_TRUE);

C#
 
AccProp oAccProp = oDossier.CreateAccProp (true);

VBS
 
Dim oAccProp
Set oAccProp = oDossier.CreateAccProp(True)

VB.NET
 
Dim oAccProp As ClSdk.AccProp
oAccProp = oDossier.CreateAccProp(True)