TypeDescriptorCollection.Create Method
Creates a TypeDescriptor object.
Namespace: Microsoft.SharePoint.BusinessData.Administration.Client
Assembly: Microsoft.SharePoint.BusinessData.Administration.Client (in Microsoft.SharePoint.BusinessData.Administration.Client.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.
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.Client.IdentifierReferenceThe identifier that is referenced by the TypeDescriptor object.
filterDescriptor
Type: Microsoft.SharePoint.BusinessData.Administration.Client.FilterDescriptorThe FilterDescriptor object that is associated with the TypeDescriptor object.
flags
Type: Microsoft.BusinessData.MetadataModel.TypeDescriptorFlagsThe attributes of the TypeDescriptor object.
associationReference
Type: Microsoft.SharePoint.BusinessData.Administration.Client.AssociationReferenceThe Association that is referenced by the TypeDescriptor object.
Return Value
Type: Microsoft.SharePoint.BusinessData.Administration.Client.TypeDescriptor
The created TypeDescriptor.
See Also
Reference
TypeDescriptorCollection Class
TypeDescriptorCollection Members
Microsoft.SharePoint.BusinessData.Administration.Client Namespace