Skip to main content
Answer

inaccessible due to its protection level

  • June 30, 2021
  • 1 reply
  • 139 views

How can we access the * _List parameter which is protected and I have no access

 

Best answer by Gabriel Michaud

What are you trying to do exactly? Why are you trying to access this internal object?

If you are trying to select data from a view, your code should look like that:

foreach(ComputingLines line in DetailsView.Select())
{
//Do something with the line.
}

P.S. this was posted to the Field Service forum -- to increase the odds somebody will see this and respond, please post to the Customization forum in the future.

1 reply

Gabriel Michaud
Captain II
Forum|alt.badge.img+11

What are you trying to do exactly? Why are you trying to access this internal object?

If you are trying to select data from a view, your code should look like that:

foreach(ComputingLines line in DetailsView.Select())
{
//Do something with the line.
}

P.S. this was posted to the Field Service forum -- to increase the odds somebody will see this and respond, please post to the Customization forum in the future.