DatabaseProjectAddItemDialogContext Class
When the Add New Item dialog box is displayed, this context object is available from the IDatabaseProjectNode. Any IDatabaseProjectFeature instances that implement IDatabaseProjectAddNewItemParticipant use this object to add creation strings as an input to the template wizard.
This API is not CLS-compliant.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Data.Schema.Package.Project.DatabaseProjectAddItemDialogContext
Microsoft.VisualStudio.Data.Schema.Package.Project.DatabaseProjectSolutionExplorerAddItemDialogContext
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer.SchemaView.DatabaseSchemaViewAddItemDialogContext
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public MustInherit Class DatabaseProjectAddItemDialogContext
[CLSCompliantAttribute(false)]
public abstract class DatabaseProjectAddItemDialogContext
[CLSCompliantAttribute(false)]
public ref class DatabaseProjectAddItemDialogContext abstract
[<AbstractClass>]
[<CLSCompliantAttribute(false)>]
type DatabaseProjectAddItemDialogContext = class end
public abstract class DatabaseProjectAddItemDialogContext
The DatabaseProjectAddItemDialogContext type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DatabaseProjectAddItemDialogContext | Initializes a new instance of the DatabaseProjectAddItemDialogContext class. |
Top
Properties
Name | Description | |
---|---|---|
Cancel | Gets or sets a value that indicates whether you want to cancel the Add New Item dialog box. | |
CreatedFileName | Gets or sets the name of the new file that was created by the wizard. | |
CreationStrings | Gets a list of all added creation strings. | |
DatabaseProjectNode | Gets or sets the database project node that started the Add New Item dialog box. | |
Target | Gets or sets the target for the new item. | |
WizardData | Gets or sets the WizardData element that is part of the vstemplate schema. |
Top
Methods
Name | Description | |
---|---|---|
AddCreationString | Adds a key/value pair that will be available to the wizard that was specified in the WizardExtension attribute of the vstemplate. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace