Microsoft.ResourceManagement.ObjectModel.RmAttributeValue.RmAttributeValue C# (CSharp) Method

RmAttributeValue() protected method

Constructor.
protected RmAttributeValue ( SerializationInfo info, StreamingContext context, bool multiValue ) : System
info SerializationInfo The info.
context StreamingContext The context.
multiValue bool if set to true multi value.
return System
        protected RmAttributeValue(
            SerializationInfo info,
            StreamingContext context,
            bool multiValue)
            : this(multiValue)
        {
            int count = info.GetInt32("count");
            for (int i = 0; i < count; ++i) {
                IComparable value = (IComparable)info.GetValue(
                    string.Format("values[{0}]", i),
                    typeof(IComparable));
                attributeValues.Add(value);
            }
        }

Same methods

RmAttributeValue::RmAttributeValue ( bool isMultiValue ) : System