Skip to content

VersionB PropertyValue.ValueCase return 20 after setting DataType to DataType.PropertySetList #72

@thuyenle1999

Description

@thuyenle1999

I would like to report an issue when setting VersionB PropertyValue's DataType to DataType.PropertySetList.

        var propertyValue = new PropertyValue()
        {
            DataType = DataType.PropertySetList, 
            PropertySetsValue = new PropertySetList()
        };

When I checked the ValueCase of the PropertyValue, it somehow returned 20, which indicates PropertySet, rather than 21, which indicates PropertySetList.

I can force the ValueCase to 21, but I think it should be set to 21 automatically.

I hope I have explained the problem clearly as English isn't my mother tongue.

Thank you very much for your useful library!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions