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
'宣言
Public Overridable Function GetSaveName ( _
itemId As Integer _
) As String
'使用
Dim instance As DataViewDocumentProvider
Dim itemId As Integer
Dim returnValue As String
returnValue = instance.GetSaveName(itemId)
public virtual string GetSaveName(
int itemId
)
public:
virtual String^ GetSaveName(
int itemId
)
public function GetSaveName(
itemId : int
) : String
Parameters
itemId
Type: System.Int32A 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.
Implements
IVsDataViewDocumentProvider.GetSaveName(Int32)
Permissions
- 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.
See Also
Reference
DataViewDocumentProvider Class