PropertyInfo.IsShared

From Xojo Documentation

Property (As Boolean )
aPropertyInfo.IsShared = newBooleanValue
or
BooleanValue = aPropertyInfo.IsShared

New in 2008r3

Supported for all project types and targets.

If True, it is a shared property and does not require a Self parameter when called by Introspection.

Example

This example reports whether the properties for the Date class are shared.

Var d As New Date
Var myProperties() As Introspection.PropertyInfo = Introspection.GetType(d).GetProperties
For Each prop As Introspection.PropertyInfo In myProperties
If prop.CanRead Then
ListBox1.AddRow(Str(prop.IsShared))
End If
Next