TypeDescriptor Class

Contains information needed to reconstruct types stored in XML format.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.BusinessData.Administration.MetadataObject
    Microsoft.SharePoint.BusinessData.Administration.AccessControlledMetadataObject
      Microsoft.SharePoint.BusinessData.Administration.TypeDescriptor

Namespace:  Microsoft.SharePoint.BusinessData.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public NotInheritable Class TypeDescriptor _
    Inherits AccessControlledMetadataObject
'Usage
Dim instance As TypeDescriptor
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public sealed class TypeDescriptor : AccessControlledMetadataObject

Remarks

A primitive field is represented by a single TypeDescriptor that tells what its type is. A more complicated type, such as a class, is represented by a single TypeDescriptor that refers to several child type descriptors. This continues recursively as needed to describe a complex data type.

Examples

Code Snippet: Create an External Content Type Using the Administration Object Model

Thread Safety

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

See Also

Reference

TypeDescriptor Members

Microsoft.SharePoint.BusinessData.Administration Namespace