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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ProvideToolWindowAttribute Class