TypeDescriptorCollection.Create Method
Creates a TypeDescriptor object.
Namespace: Microsoft.SharePoint.BusinessData.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function Create ( _
name As String, _
isCached As Boolean, _
typeName As String, _
lobName As String, _
identifierReference As IdentifierReference, _
filterDescriptor As FilterDescriptor, _
flags As TypeDescriptorFlags, _
associationReference As AssociationReference _
) As TypeDescriptor
'Usage
Dim instance As TypeDescriptorCollection
Dim name As String
Dim isCached As Boolean
Dim typeName As String
Dim lobName As String
Dim identifierReference As IdentifierReference
Dim filterDescriptor As FilterDescriptor
Dim flags As TypeDescriptorFlags
Dim associationReference As AssociationReference
Dim returnValue As TypeDescriptor
returnValue = instance.Create(name, isCached, _
typeName, lobName, identifierReference, _
filterDescriptor, flags, associationReference)
public TypeDescriptor Create(
string name,
bool isCached,
string typeName,
string lobName,
IdentifierReference identifierReference,
FilterDescriptor filterDescriptor,
TypeDescriptorFlags flags,
AssociationReference associationReference
)
Parameters
name
Type: System.StringThe name of the TypeDescriptor object.
isCached
Type: System.Booleantrue if it is to cached; otherwise, false.
typeName
Type: System.StringThe type name.
lobName
Type: System.StringThe external system name.
identifierReference
Type: Microsoft.SharePoint.BusinessData.Administration.IdentifierReferenceThe identifier that is referenced by the TypeDescriptor object.
filterDescriptor
Type: Microsoft.SharePoint.BusinessData.Administration.FilterDescriptorThe filter descriptor.
flags
Type: Microsoft.BusinessData.MetadataModel.TypeDescriptorFlagsThe attributes of the TypeDescriptor object.
associationReference
Type: Microsoft.SharePoint.BusinessData.Administration.AssociationReferenceAssociation that is referenced by the TypeDescriptor object.
Return Value
Type: Microsoft.SharePoint.BusinessData.Administration.TypeDescriptor
The TypeDescriptor object that is created.
Remarks
This class retrieves data from the metadata store when this function is invoked.
See Also
Reference
TypeDescriptorCollection Class