ProjectNode.OnOpenItem Method

Called when the project opens an editor window for the given file.

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

Syntax

'宣言
Public Overridable Sub OnOpenItem ( _
    fullPathToSourceFile As String _
)
'使用
Dim instance As ProjectNode
Dim fullPathToSourceFile As String

instance.OnOpenItem(fullPathToSourceFile)
public virtual void OnOpenItem(
    string fullPathToSourceFile
)
public:
virtual void OnOpenItem(
    String^ fullPathToSourceFile
)
public function OnOpenItem(
    fullPathToSourceFile : String
)

Parameters

  • fullPathToSourceFile
    Type: System.String

    Path of the file to be opened.

Permissions

See Also

Reference

ProjectNode Class

ProjectNode Members

Microsoft.VisualStudio.Package Namespace