Share via


AbstractInstance.TypeDescriptor Property

When overridden in a derived class, gets the root TypeDescriptor object of this instance.

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

Syntax

'Declaration
Public ReadOnly Property TypeDescriptor As TypeDescriptor
    Get
'Usage
Dim instance As AbstractInstance
Dim value As TypeDescriptor

value = instance.TypeDescriptor
public TypeDescriptor TypeDescriptor { get; }

Property Value

Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.TypeDescriptor
A TypeDescriptor object representing the root type descriptor of the instance.

Implements

IInstance.TypeDescriptor

Remarks

The root TypeDescriptor is the TypeDescriptor pointed to by the ReturnTypeDescriptor of the MethodInstance that is executed to return these instances. If the ReturnTypeDescriptor is a collection, then the root TypeDescriptor of the instance is the only child of the collection TypeDescriptor.

See Also

Reference

AbstractInstance Class

AbstractInstance Members

Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace