TypeDescriptor.GetById method
Gets the TypeDescriptor object by using its identifier (ID).
Namespace: Microsoft.SharePoint.BusinessData.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetById ( _
id As UInteger, _
metadataCatalog As AdministrationMetadataCatalog _
) As TypeDescriptor
'Usage
Dim id As UInteger
Dim metadataCatalog As AdministrationMetadataCatalog
Dim returnValue As TypeDescriptor
returnValue = TypeDescriptor.GetById(id, metadataCatalog)
public static TypeDescriptor GetById(
uint id,
AdministrationMetadataCatalog metadataCatalog
)
Parameters
id
Type: System.UInt32The TypeDescriptor ID.
metadataCatalog
Type: Microsoft.SharePoint.BusinessData.Administration.AdministrationMetadataCatalogThe metadata store.
Return value
Type: Microsoft.SharePoint.BusinessData.Administration.TypeDescriptor
A TypeDescriptor object.