Share via


ProvideToolWindowAttribute.MultiInstances Property

Determines whether multiple instances of the tool window are allowed.

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

Syntax

‘선언
Public Property MultiInstances As Boolean
    Get
    Set
‘사용 방법
Dim instance As ProvideToolWindowAttribute
Dim value As Boolean

value = instance.MultiInstances

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

Property Value

Type: System.Boolean
true if multiple instances are allowed, otherwise false.

.NET Framework Security

See Also

Reference

ProvideToolWindowAttribute Class

ProvideToolWindowAttribute Members

Microsoft.VisualStudio.Shell Namespace