BACnet.Ashrae.PropertyValue.Load C# (CSharp) Method

Load() public static method

public static Load ( IValueStream stream ) : PropertyValue
stream IValueStream
return PropertyValue
        public static PropertyValue Load(IValueStream stream)
        {
            stream.EnterSequence();
            var propertyIdentifier = Value<PropertyIdentifier>.Load(stream);
            var propertyArrayIndex = Value<Option<uint>>.Load(stream);
            var value = Value<GenericValue>.Load(stream);
            var priority = Value<Option<uint>>.Load(stream);
            stream.LeaveSequence();
            return new PropertyValue(propertyIdentifier, propertyArrayIndex, value, priority);
        }