Gets or sets the Session used by the current collection.
The session with a connection to a data source. The default value is Session.DefaultSession.
Do not change this property value manually in your code, as it is intended to provide design-time support for the component. If you need to create the XPColleciton in the designer but specify the Session in code, use the XPBaseCollection.ResolveSession event. In the XPBaseCollection descendants (XPCollection and XPCollection<T>), you can also pass the Session object to the constructor.