Udostępnij za pośrednictwem


IDatabaseProjectAddNewItemParticipant Interface

Classes that implement IDatabaseProjectFeature should implement this interface to participate in the Add New Item and Add Existing Item dialog boxes.

This API is not CLS-compliant. 

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 Interface IDatabaseProjectAddNewItemParticipant
[CLSCompliantAttribute(false)]
public interface IDatabaseProjectAddNewItemParticipant
[CLSCompliantAttribute(false)]
public interface class IDatabaseProjectAddNewItemParticipant
[<CLSCompliantAttribute(false)>]
type IDatabaseProjectAddNewItemParticipant =  interface end
public interface IDatabaseProjectAddNewItemParticipant

The IDatabaseProjectAddNewItemParticipant type exposes the following members.

Methods

  Name Description
Public method AllowDisplayInAddItemDialog
Public method GenerateUniqueItemName Used to return a unique name for the item to be created.
Public method PopulateAddItemDialogContext Called to populate the current context.
Public method ResolveAddItemDialogFileConflict When a file is added through the Add Item dialog box and there is a file conflict with something already in the system, you have the option of using this routine to create a new non-conflicting file name.

Top

See Also

Reference

Microsoft.VisualStudio.Data.Schema.Package.Project Namespace