IDVBCMExecParamInfo::defaultvalue
Method Signatures |
|
C\C++ |
HRESULT get_DefaultValue( long lWait, LPVARIANT *vDefaultValue) |
VB |
Public Property Get DefaultValue( ByVal lWait As Long) As Variant |
This property returns the default value for the parameter. Depending on the parameter type, the type of the variant is different.
Return Values
S_OK - success
else - failed
Memory Allocation
none
Visual Basic Usage Example
Private Sub Button1_Click()
Dim vDefaultValue As Variant
Dim objExecParamInfo As DVBCMExecParamInfo
Call GetExecParamInfoObject(objExecParamInfo)
vDefaultValue = objExecParamInfo.DefaultValue
End Sub
Parameter Name |
Purpose |
|---|---|
lWait |
Optional. Default = 30000. Time to wait for a server resource in milliseconds. |
vDefaultValue |
The default value for the parameter. |