| |
| Creates a Rate object. |
| |
 |
IRate* CreateRate ( 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++ |
 | pRate = NULL |
 | The object is destroyed immediately. |
 | C# |
 | System.Runtime.InteropServices.Marshal.ReleaseComObject(oRate) |
 | oRate = 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 oRate = Nothing |
 | The object is destroyed immediately. |
 | VBN |
 | System.Runtime.InteropServices.Marshal.ReleaseComObject(oRate) |
 | oRate = 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 |
|
|
|
| |
| Samples |
| |
 |
C++ |
| |
IRatePtr pRate = pDossier->CreateRate (VARIANT_TRUE);
|
|
 |
C# |
| |
Rate oRate = oDossier.CreateRate (true);
|
|
 |
VBS |
| |
Dim oRate
Set oRate = oDossier.CreateRate(True)
|
|
 |
VB.NET |
| |
Dim oRate As ClSdk.Rate
oRate = oDossier.CreateRate(True)
|
|