Following a call to the CreateLayer method and optional calls to the SetValue method, the Load method loads the new feature layer on the terrain. This method must be called only when the layer is loaded to the terrain for the first time.
Use the Refresh method to reload a layer that was already loaded.
HRESULT Load()
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. |