|
Creates a Stock Valuation Details object. |
|
|
IStValDet* CreateStValDet () |
|
|
Remarks |
| How to explicitly destroy this object? |
|
| C++ |
| pStValDet = NULL |
| The object is destroyed immediately. |
| C# |
| System.Runtime.InteropServices.Marshal.ReleaseComObject(oStValDet) |
| oStValDet = 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 oStValDet = Nothing |
| The object is destroyed immediately. |
| VBN |
| System.Runtime.InteropServices.Marshal.ReleaseComObject(oStValDet) |
| oStValDet = 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++ |
|
IStValDetPtr pStValDet = pYear->CreateStValDet ();
|
|
|
C# |
|
StValDet oStValDet = oYear.CreateStValDet ();
|
|
|
VBS |
|
Dim oStValDet
Set oStValDet = oYear.CreateStValDet()
|
|
|
VB.NET |
|
Dim oStValDet As ClSdk.StValDet
oStValDet = oYear.CreateStValDet()
|
|