ProjectNode.TransferItem Method

Transfers an item from one project to another.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Overridable Function TransferItem ( _
    oldMkDoc As String, _
    newMkDoc As String, _
    frame As IVsWindowFrame _
) As Integer
'使用
Dim instance As ProjectNode
Dim oldMkDoc As String
Dim newMkDoc As String
Dim frame As IVsWindowFrame
Dim returnValue As Integer

returnValue = instance.TransferItem(oldMkDoc, _
    newMkDoc, frame)
public virtual int TransferItem(
    string oldMkDoc,
    string newMkDoc,
    IVsWindowFrame frame
)
public:
virtual int TransferItem(
    String^ oldMkDoc, 
    String^ newMkDoc, 
    IVsWindowFrame^ frame
)
public function TransferItem(
    oldMkDoc : String, 
    newMkDoc : String, 
    frame : IVsWindowFrame
) : int

Parameters

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsProject3.TransferItem(String, String, IVsWindowFrame)

Permissions

See Also

Reference

ProjectNode Class

ProjectNode Members

Microsoft.VisualStudio.Package Namespace