inaccessible due to its protection level

后端 未结 2 1795
旧时难觅i
旧时难觅i 2021-01-21 18:54

i am displaying version(WrmVersion) value in a listview ,,but here i given one codition means if version(WrmVersion) is null i am displaying \'None\'(ResourcePolicyAvailSystems

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-21 19:36

    You can't add:

      ResourcePolicyAvailSystemsLVI.m_nullString
    

    because the scope of that member is either private or internal.

    You need to make it public (or ideally, expose it via a property).

提交回复
热议问题