what’s the meaning of double underscore ($_.value__)?

Question:

Today on powershell.com

http://powershell.com/cs/blogs/tips/archive/2011/04/26/dump-enumerations.aspx

I’ve found this tip

Can someone explain me what’s the meaning of $_.value__ ?
Thanks.

Answer:

I would say this is kind of a hacky way to get the underling value of a enum. Here is the related question and answer:
What is the purpose of the public “value__” field that I can see in Reflector against my enum?

Source:

what’s the meaning of double underscore ($_.value__)? by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply