Share via


TypeDescriptor.IsCollection Property

Gets or sets a boolean indicating whether the TypeDescriptor represents a collection.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Public Property IsCollection As Boolean
    Get
    Set
'Usage
Dim instance As TypeDescriptor
Dim value As Boolean

value = instance.IsCollection

instance.IsCollection = value
public bool IsCollection { get; set; }

Property Value

Type: System.Boolean
True or false.

Remarks

If true, the TypeDescriptor must contain exactly one child TypeDescriptor that describes an element in the collection. The return parameter of a Finder method must have a TypeDescriptor with IsCollection = true.

See Also

Reference

TypeDescriptor Class

TypeDescriptor Members

Microsoft.Office.Server.ApplicationRegistry.Administration Namespace