This method refreshes the layer.
HRESULT Refresh()
Return Values:
The return value obtained from the returned HRESULT can be one of the following:
Return value
Meaning
S_OK
Success.
E_FAIL
Catastrophic failure.