---
title: "VirtualListView..::.GetInsertMark Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_VirtualListView_GetInsertMark_2_df936a83.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# VirtualListView.GetInsertMark Method 
 
Retrieves the position of the insertion mark.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
 
## Syntax
  
```
Public Function GetInsertMark ( _<OutAttribute> ByRef index As Integer, _<OutAttribute> ByRef afterItem As Boolean _
) As Boolean
```
 
```csharp
public bool GetInsertMark(out int index,out bool afterItem
)
```
 
### Parameters
 
 - index
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d) %
An index of the item next to which the insertion point appears.

 - afterItem
     - Type: [System.Boolean](http://msdn2.microsoft.com/en-us/a28wyd50) %
The insertion point appears after the item specified if this value is true; otherwise it appears before the specified item.
 
### Return Value
 **true** if successful, or **false** otherwise.
 
## Remarks
  
An insertion mark can appear only if the [ThumbnailListView](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ThumbnailListView.htm.md) control is in **Icon**, **List** or **Thumbnails** view.
   
## See Also

### Reference

- [VirtualListView Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_VirtualListView.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
