Skip to main content
Solved

inaccessible due to its protection level

  • June 30, 2021
  • 1 reply
  • 112 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.

View original
Did this topic help you find an answer to your question?

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.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings