ProjectNode.AddProjectReference Method

Displays the Add Reference dialog.

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

Syntax

'宣言
Public Overridable Function AddProjectReference As Integer
'使用
Dim instance As ProjectNode
Dim returnValue As Integer

returnValue = instance.AddProjectReference()
public virtual int AddProjectReference()
public:
virtual int AddProjectReference()
public function AddProjectReference() : int

Return Value

Type: System.Int32

S_OK, or an error code returned by the dialog.

Remarks

The implementation of this method shows a Visual Studio 2003 style Add Reference dialog. Override this method to modify the behavior of the dialog. For example, you could change whether or not certain pages are visible, or which page is visible by default.

Permissions

See Also

Concepts

IronPython Sample

Reference

ProjectNode Class

ProjectNode Members

Microsoft.VisualStudio.Package Namespace