Share via


MetadataObject.IsPrimitive Method

NOTE: This API is now obsolete.

Indicates whether the metadata object is of the specified primitive type.

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

Syntax

'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",  _
    False)> _
Protected Function IsPrimitive ( _
    type As Type _
) As Boolean
'Usage
Dim type As Type
Dim returnValue As Boolean

returnValue = Me.IsPrimitive(type)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
protected bool IsPrimitive(
    Type type
)

Parameters

Return Value

Type: System.Boolean
true if the metadata object is of the specified primitive type; otherwise, false.

See Also

Reference

MetadataObject Class

MetadataObject Members

Microsoft.Office.Server.ApplicationRegistry.Administration Namespace