FileBackedMetadataCatalog.GetEntity method
Gets the external content type with the specified namespace and name.
Namespace: Microsoft.SharePoint.BusinessData.MetadataModel
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetEntity ( _
namespace As String, _
name As String _
) As IEntity
'Usage
Dim instance As FileBackedMetadataCatalog
Dim namespace As String
Dim name As String
Dim returnValue As IEntity
returnValue = instance.GetEntity(namespace, _
name)
public IEntity GetEntity(
string namespace,
string name
)
Parameters
namespace
Type: System.StringThe namespace of the external content type.
name
Type: System.StringThe name of the external content type.
Return value
Type: Microsoft.BusinessData.MetadataModel.IEntity
The external content type.
Implements
IMetadataCatalog.GetEntity(String, String)
Remarks
Object instances obtained from an instance of FileBackedMetadataCatalog can only be used with object instances obtained from the same instance of FileBackedMetadataCatalog. Using incompatible object instances with each other causes data corruption and other unexpected behavior.
See also
Reference
FileBackedMetadataCatalog class