IDatabaseProjectNode.OpenAddItemDialogFromSolutionExplorer Method
A componentized way to open the Add Item dialog box from anywhere in the project system.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Sub OpenAddItemDialogFromSolutionExplorer ( _
target As IDatabaseNode, _
expand As String, _
itemToSelect As String _
)
void OpenAddItemDialogFromSolutionExplorer(
IDatabaseNode target,
string expand,
string itemToSelect
)
void OpenAddItemDialogFromSolutionExplorer(
IDatabaseNode^ target,
String^ expand,
String^ itemToSelect
)
abstract OpenAddItemDialogFromSolutionExplorer :
target:IDatabaseNode *
expand:string *
itemToSelect:string -> unit
function OpenAddItemDialogFromSolutionExplorer(
target : IDatabaseNode,
expand : String,
itemToSelect : String
)
Parameters
- target
Type: Microsoft.VisualStudio.Data.Schema.Package.Project.IDatabaseNode
The database node that is used as the context for the Solution Explorer.
- expand
Type: System.String
The category to expand.
- itemToSelect
Type: System.String
The item in the category to automatically select.
.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
IDatabaseProjectNode Interface
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace