The PropValue element represents identification information and the value of the property.
Inheritance: LexicalBase
Ejemplo n.º 1
0
        /// <summary>
        /// Deserialize fields from a FastTransferStream.
        /// </summary>
        /// <param name="stream">A FastTransferStream.</param>
        public override void Deserialize(FastTransferStream stream)
        {
            this.propValues = new List <PropValue>();
            while (PropValue.Verify(stream) &&
                   !MarkersHelper.IsEndMarkerExceptEcWarning(stream.VerifyUInt32()))
            {
                this.propValues.Add(PropValue.DeserializeFrom(stream) as PropValue);
            }

            if (SyntacticalBase.AllPropList != null)
            {
                SyntacticalBase.AllPropList.Add(this);
            }
        }
        /// <summary>
        /// Verify that a stream's current position contains a serialized MvPropTypePropValue.
        /// </summary>
        /// <param name="stream">A FastTransferStream.</param>
        /// <returns>I the stream's current position contains
        /// a serialized MvPropTypePropValue, return true, else false</returns>
        public static new bool Verify(FastTransferStream stream)
        {
            ushort tmp = stream.VerifyUInt16();

            return(LexicalTypeHelper.IsMVType((PropertyDataType)tmp) && !PropValue.IsPidTagIdsetGiven(stream));
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Verify that a stream's current position contains a serialized propList.
 /// </summary>
 /// <param name="stream">A FastTransferStream.</param>
 /// <returns>If the stream's current position contains
 /// a serialized propList, return true, else false.</returns>
 public static bool Verify(FastTransferStream stream)
 {
     return(PropValue.Verify(stream));
 }