MemberInfo.IsProtected

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Read-Only Property (As Boolean )
BooleanValue = aMemberInfo.IsProtected

New in 2008r3

Supported for all project types and targets.

Is True, the item has Protected scope.

Example

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