Share via


IAddNewItemParticipant.AllowDisplayInAddItemDialog Method

Returns the appropriate enumeration to hide or display items in the Add Item dialog.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Project
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Function AllowDisplayInAddItemDialog ( _
    context As AddItemDialogContext, _
    stringType As TemplateStringType, _
    templateString As String _
) As TemplateDisplayResult
'Usage
Dim instance As IAddNewItemParticipant
Dim context As AddItemDialogContext
Dim stringType As TemplateStringType
Dim templateString As String
Dim returnValue As TemplateDisplayResult

returnValue = instance.AllowDisplayInAddItemDialog(context, _
    stringType, templateString)
TemplateDisplayResult AllowDisplayInAddItemDialog(
    AddItemDialogContext context,
    TemplateStringType stringType,
    string templateString
)
TemplateDisplayResult AllowDisplayInAddItemDialog(
    AddItemDialogContext^ context, 
    TemplateStringType stringType, 
    String^ templateString
)
function AllowDisplayInAddItemDialog(
    context : AddItemDialogContext, 
    stringType : TemplateStringType, 
    templateString : String
) : TemplateDisplayResult
abstract AllowDisplayInAddItemDialog : 
        context:AddItemDialogContext * 
        stringType:TemplateStringType * 
        templateString:string -> TemplateDisplayResult 

Parameters

Return Value

Type: Microsoft.VisualStudio.Data.Schema.Project.Project.TemplateDisplayResult
Returns a TemplateDisplayResult.

.NET Framework Security

See Also

Reference

IAddNewItemParticipant Interface

IAddNewItemParticipant Members

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