Share via


IVsToolbox6.RenameItem(IDataObject, String) Method

Definition

Renames the specified item.

public:
 void RenameItem(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pItem, System::String ^ szName);
public:
 void RenameItem(Microsoft::VisualStudio::OLE::Interop::IDataObject ^ pItem, Platform::String ^ szName);
void RenameItem(Microsoft::VisualStudio::OLE::Interop::IDataObject const & pItem, std::wstring const & szName);
public void RenameItem (Microsoft.VisualStudio.OLE.Interop.IDataObject pItem, string szName);
abstract member RenameItem : Microsoft.VisualStudio.OLE.Interop.IDataObject * string -> unit
Public Sub RenameItem (pItem As IDataObject, szName As String)

Parameters

pItem
IDataObject

[in] The item to be renamed.

szName
String

[in] The new name for the item. This parameter can be a literal string or a resource identifier. See ParseResourceID(String, UInt32, String, Guid, String) for supported resource identifier formats.

Applies to