Share via


MetadataObject.IsPrimitive Method

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
Protected Function IsPrimitive ( _
    type As Type _
) As Boolean
'Usage
Dim type As Type
Dim returnValue As Boolean

returnValue = Me.IsPrimitive(type)
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