Share via


TypeCollectionDesigner.AllowDuplicate Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets a value that indicates if the types in the TypeCollectionDesignershould allow duplicates.

Namespace:  System.Activities.Design
Assembly:  System.Activities.Core.Design (in System.Activities.Core.Design.dll)

Syntax

'Declaration
Public Property AllowDuplicate As Boolean
    Get
    Set
'Usage
Dim instance As TypeCollectionDesigner
Dim value As Boolean

value = instance.AllowDuplicate

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

Property Value

Type: System.Boolean
true if duplicate types are permitted; otherwise, false. The default is false.

.NET Framework Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

TypeCollectionDesigner Class

TypeCollectionDesigner Members

System.Activities.Design Namespace