Hi,
I found the following piece of code, and I'm trying to find out what the int 1 and 2 (passed as parameters of OptionSetValue() ) stand for
var newRequest = new SetStateRequest(); var newEntityMoniker = newRequest.EntityMoniker(); newEntityMoniker = new EntiyReference() { Id = myEntity.Id; LogicalName = myEntity.LogicalName; } newEntityMoniker.State = new OptionSetValue(1); newEntityMoniker.Status = new OptionSetValue(2);
In this documentation, which explains the SetStateRequest class, I found an example of use of OptionSetValue but it doesn't use an int value as a parameter.
What does the instructions above mean, and where can I find some references about this usage of OptionSetValue()?