/// <summary> /// Verify that a stream's current position contains a serialized NamedPropIdPropInfo. /// </summary> /// <param name="stream">A FastTransferStream.</param> /// <returns>If the stream's current position contains /// a serialized NamedPropIdPropInfo, return true, else false.</returns> public static new bool Verify(FastTransferStream stream) { return(LexicalTypeHelper.IsNamedPropertyID(stream.VerifyUInt16())); }
/// <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)); }