Share via


DataViewDocumentProvider.GetSaveName Method

Gets the name of the specified document for use when saving the document.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public Overridable Function GetSaveName ( _
    itemId As Integer _
) As String
public virtual string GetSaveName(
    int itemId
)
public:
virtual String^ GetSaveName(
    int itemId
)
abstract GetSaveName : 
        itemId:int -> string  
override GetSaveName : 
        itemId:int -> string
public function GetSaveName(
    itemId : int
) : String

Parameters

  • itemId
    Type: System.Int32

    A numerical identifier for the node in the data view.

Return Value

Type: System.String
A string representing the document name for use when saving the document, or nulla null reference (Nothing in Visual Basic) if there is no such name.

Implements

IVsDataViewDocumentProvider.GetSaveName(Int32)

Remarks

Notes to Inheritors

The derived class should override this method.

.NET Framework Security

See Also

Reference

DataViewDocumentProvider Class

Microsoft.VisualStudio.Data.Framework Namespace