VerifyUInt16() 공개 메소드

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