Partager via


TypeDescriptor.IsCollection, propriété (Microsoft.Office.Server.ApplicationRegistry.Administration)

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

Espace de noms : Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
Public Property IsCollection As Boolean
'Utilisation
Dim instance As TypeDescriptor
Dim value As Boolean

value = instance.IsCollection

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

Valeur de la propriété

True or false.

Remarques

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.

Voir aussi

Référence

TypeDescriptor, classe
Membres TypeDescriptor
Microsoft.Office.Server.ApplicationRegistry.Administration, espace de noms