IVsToolbox6.RenameItem Method
Renames the specified item.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
Sub RenameItem ( _
pItem As IDataObject, _
szName As String _
)
void RenameItem(
IDataObject pItem,
string szName
)
void RenameItem(
[InAttribute] IDataObject^ pItem,
[InAttribute] String^ szName
)
abstract RenameItem :
pItem:IDataObject *
szName:string -> unit
function RenameItem(
pItem : IDataObject,
szName : String
)
Parameters
pItem
Type: Microsoft.VisualStudio.OLE.Interop.IDataObject[in] The item to be renamed.
szName
Type: String[in] The new name for the item. This parameter can be a literal string or a resource identifier. See ParseResourceID for supported resource identifier formats.
.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.