locked
Parameter provided to Property gets removed after upgarding to .Net framework 4.6.1 RRS feed

  • Question

  • .Net Framework 4.5 Property was as below :

      Friend Property Culture() As Global.System.Globalization.CultureInfo
                Get
                    Return resourceCulture
                End Get
                Set(ByVal value As Global.System.Globalization.CultureInfo)
                    resourceCulture = value
                End Set
     End Property

    After Upgrading to .Net framework 4.6.1 Parameter provided to Set got removed. So Now, what value gets set to the property?

    Friend Property Culture() As Global.System.Globalization.CultureInfo
                Get
                    Return resourceCulture
                End Get
                Set
                    resourceCulture = value
                End Set
    End Property

    Tuesday, January 31, 2017 9:02 AM

All replies

  • Hi Neelam21,

    >>After Upgrading to .Net framework 4.6.1 Parameter provided to Set got removed. So Now, what value gets set to the property?

    Based on your description,  do you mean (ByVal value As Global.System.Globalization.CultureInfo) is removed ? Am I right? If yes, I also try to build without it, It also build successful.

    So it is the same in .Net framework4.6.1.

    If I missunderstood you, please feel free to let me know.

    Best regards,

    Kristin


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Proposed as answer by DotNet Wang Monday, February 6, 2017 7:03 AM
    Wednesday, February 1, 2017 5:51 AM