BuiltIn Property

Applies To   Reference object.

Description

The BuiltIn property returns a Boolean value indicating whether a Reference object points to a default reference that's necessary for Microsoft Access to function properly.

Setting

The BuiltIn property is available only by using Visual Basic and is read-only.

The BuiltIn property returns the following values.

Value

Description

True (–1)

The Reference object refers to a default reference that can't be removed.

False (0)

The Reference object refers to a nondefault reference that isn't necessary for Microsoft Access to function properly.


Remarks   The default references in Microsoft Access include the Microsoft Access 8.0 object library and the Visual Basic For Applications library.

See Also   Reference object, References collection.

Example

The following example prints the default references in the References collection:

Sub ReferenceBuiltInOnly()
    Dim ref As Reference

    ' Enumerate through References collection.
    For Each ref In References
        ' Check BuiltIn property.
        If ref.BuiltIn = True Then
            Debug.Print ref.Name
        End If
    Next ref
End Sub