Asks the given list item to do the delete operation.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
‘선언 Function DoDelete ( _ index As UInteger, _ grfFlags As UInteger _ ) As Integer ‘사용 방법 Dim instance As IVsObjectList2 Dim index As UInteger Dim grfFlags As UInteger Dim returnValue As Integer returnValue = instance.DoDelete(index, _ grfFlags)
int DoDelete( uint index, uint grfFlags )
int DoDelete( [InAttribute] unsigned int index, [InAttribute] unsigned int grfFlags )
abstract DoDelete : index:uint32 * grfFlags:uint32 -> int
function DoDelete( index : uint, grfFlags : uint ) : int
[in] Specifies the index of the list item to delete.
HRESULT IVsObjectList2::DoDelete( [in] ULONG Index, [in] VSOBJOPFLAGS grfFlags );
The environment calls DoDelete when the user asks to delete the item at index. This method is only called after CanDelete has been called on the item and has returned true. On a successful deletion DoDelete should return S_OK, if the deletion failed, return the failure as an error and set the rich error info to indicate the problem that was encountered.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.