VerifyUInt16() public method

Get an unsigned short integer value for current position plus an offset and does not advance the position.
public VerifyUInt16 ( ) : ushort
return ushort
        /// <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));
        }
 /// <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);
 }