Compartir a través de


ProvideProjectFactoryAttribute.ShowOnlySpecifiedTemplatesVsTemplate Property

Gets or sets the Visual Studio template to be shown in the New Project dialog.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

'Declaración
Public Property ShowOnlySpecifiedTemplatesVsTemplate As Boolean
    Get
    Set
'Uso
Dim instance As ProvideProjectFactoryAttribute
Dim value As Boolean

value = instance.ShowOnlySpecifiedTemplatesVsTemplate

instance.ShowOnlySpecifiedTemplatesVsTemplate = value
public bool ShowOnlySpecifiedTemplatesVsTemplate { get; set; }
public:
property bool ShowOnlySpecifiedTemplatesVsTemplate {
    bool get ();
    void set (bool value);
}
member ShowOnlySpecifiedTemplatesVsTemplate : bool with get, set
function get ShowOnlySpecifiedTemplatesVsTemplate () : boolean
function set ShowOnlySpecifiedTemplatesVsTemplate (value : boolean)

Property Value

Type: System.Boolean
The Visual Studio template.

.NET Framework Security

See Also

Reference

ProvideProjectFactoryAttribute Class

ProvideProjectFactoryAttribute Members

Microsoft.VisualStudio.Shell Namespace