DocData.RenameDocData(UInt32, IVsHierarchy, UInt32, String) Method

Definition

Called by the shell when it wants to rename a document.

public:
 virtual int RenameDocData(System::UInt32 attributes, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierarchy, System::UInt32 itemId, System::String ^ fileName);
public int RenameDocData (uint attributes, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hierarchy, uint itemId, string fileName);
abstract member RenameDocData : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 * string -> int
override this.RenameDocData : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 * string -> int
Public Function RenameDocData (attributes As UInteger, hierarchy As IVsHierarchy, itemId As UInteger, fileName As String) As Integer

Parameters

attributes
UInt32

Attributes of the document to be renamed.

hierarchy
IVsHierarchy

Hierarchy for the document.

itemId
UInt32

Item id of the document.

fileName
String

New name of the document.

Returns

Implements

Applies to