IVsDataViewDocumentProvider.GetSaveName Method

When implemented by a class, gets the name of the specified document for use when saving a new document.

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'宣言
Function GetSaveName ( _
    itemId As Integer _
) As String
'使用
Dim instance As IVsDataViewDocumentProvider
Dim itemId As Integer
Dim returnValue As String

returnValue = instance.GetSaveName(itemId)
string GetSaveName(
    int itemId
)
String^ GetSaveName(
    int itemId
)
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 a null reference (Nothing in Visual Basic) if there is no such name.

Permissions

See Also

Reference

IVsDataViewDocumentProvider Interface

IVsDataViewDocumentProvider Members

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace