Sets the current mouse location and snap result.
[Visual Basic .NET] Public Sub Update ( _ ByVal snappingResult As ISnappingResult, _ ByVal hdc As Integer _ )
[C#] public void Update ( ISnappingResult snappingResult, int hdc );
[C++]
HRESULT Update(
ISnappingResult* snappingResult,
long hdc
);
[C++]Parameters
snappingResult [in]snappingResult is a parameter of type ISnappingResult
hdc [in] hdc is a parameter of type long
Product Availability
Available with ArcGIS Engine.
Remarks
Update notifies the snapping feedback object that changes in the snap location may have occurred. The Update method uses the snapResult object that is passed in to display the snapping symbol and snap tip if a snap occurred, and draws them on the hDC passed in. Calls to Update are usually made in conjunction with calls to IPointSnapper.Snap() inside a tool’s MouseMove() method. Even if a null snap result is returned, your code should ensure that Update is called; a null SnapResult passed into the Update method() is fine.