PropertyDataTypeCollection Class

The PropertyDataTypeCollection class represents a collection of PropertyDataType objects. The PropertyDataTypeCollection object is within the site context and stores supported property data types in the user profile database for a specific site.



Public Methods

The following table shows the public methods of the PropertyDataTypeCollection class and a brief description of each.

Name Description
CopyTo(System.Array, Int32) Copies the elements of the PropertyDataType collection to an array, starting at a particular array index.
GetEnumerator Gets the enumerator of the PropertyDataType objects.

Public Properties

The following table shows the properties of the PropertyDataTypeCollection class, the data type of each property, and a brief description of each.

Name Data Type Description
Count Int32 Gets the number of the PropertyDataType objects.
IsSynchronized Boolean Gets a value indicating whether access to the PropertyDataType Collection is synchronized (thread-safe).
Item(String) Microsoft.SharePoint.Portal.UserProfiles.PropertyDataType Gets the PropertyDataType object that contains the specified data type of the property.
SyncRoot object Gets an object that can be used to synchronize access to this collection.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.


The following code example shows the use of the PropertyDataTypeCollection class.


Namespace: Microsoft.SharePoint.Portal.UserProfiles

Platforms: Windows Server 2003

Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Security: Code Access Security