MemberInfo.IsPrivate

From Xojo Documentation

Property (As Boolean )
aMemberInfo.IsPrivate = newBooleanValue
or
BooleanValue = aMemberInfo.IsPrivate

New in 2008r3

Supported for all project types and targets.

If True, the item has Private scope.

Example

The following example checks the IsPrivate property before taking an action.

Var d As New Date
For Each prop As Introspection.PropertyInfo In Introspection.GetType(d).GetProperties
If prop.IsPrivate Then
// take an action here..
End If
Next