BaseDocData.OnSetUntitledDocPath Method
Called to set the untitled document path.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Protected Overridable Function OnSetUntitledDocPath ( _
untitledPath As String _
) As Integer
'Usage
Dim untitledPath As String
Dim returnValue As Integer
returnValue = Me.OnSetUntitledDocPath(untitledPath)
protected virtual int OnSetUntitledDocPath(
string untitledPath
)
protected:
virtual int OnSetUntitledDocPath(
String^ untitledPath
)
protected function OnSetUntitledDocPath(
untitledPath : String
) : int
abstract OnSetUntitledDocPath :
untitledPath:string -> int
override OnSetUntitledDocPath :
untitledPath:string -> int
Parameters
- untitledPath
Type: System.String
The untitled document path
Return Value
Type: System.Int32
Returns VSConstants.S_OK.
.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.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace