IVsObjectList.CanDelete(UInt32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a flag indicating if the given list item can be deleted.
public:
int CanDelete(System::UInt32 index, [Runtime::InteropServices::Out] int % pfOK);
int CanDelete(unsigned int index, [Runtime::InteropServices::Out] int & pfOK);
public int CanDelete (uint index, out int pfOK);
abstract member CanDelete : uint32 * int -> int
Public Function CanDelete (index As UInteger, ByRef pfOK As Integer) As Integer
Parameters
- index
- UInt32
[in] Specifies the index of the list item of interest.
- pfOK
- Int32
[out] Pointer to a flag indicating whether the item can be deleted.
Returns
Returns true
if it can delete the item index, false
if it cannot.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsObjectList::CanDelete(
[in] ULONG Index,
[out] BOOL *pfOK
);
Set pfOK
to indicate whether the item Index can be deleted. Return true
if it can, false
if not.