TypeDescriptor.IsCollection Property

NOTE: This API is now obsolete.

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
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",  _
    False)> _
Public Property IsCollection As Boolean
    Get
    Set
'Usage
Dim instance As TypeDescriptor
Dim value As Boolean

value = instance.IsCollection

instance.IsCollection = value
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
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