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.StringPath of the file to be opened.
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.