public override string ToString() { var sb = new StringBuilder(); sb.AppendLine("m_freeCnt:\t" + FreeCnt); sb.AppendLine("m_freeData:\t" + FreeData); sb.AppendLine("m_flagBits:\t0x" + FlagBits.ToString("x")); sb.AppendLine("m_lsn:\t\t" + Lsn); sb.AppendLine("m_objId:\t" + ObjectID); sb.AppendLine("m_pageId:\t(" + Pointer.FileID + ":" + Pointer.PageID + ")"); sb.AppendLine("m_type:\t\t" + Type); sb.AppendLine("m_typeFlagBits:\t" + "0x" + TypeFlagBits.ToString("x")); sb.AppendLine("pminlen:\t" + Pminlen); sb.AppendLine("m_indexId:\t" + IndexID); sb.AppendLine("m_slotCnt:\t" + SlotCnt); sb.AppendLine("m_nextPage:\t" + NextPage); sb.AppendLine("m_prevPage:\t" + PreviousPage); sb.AppendLine("m_xactReserved:\t" + XactReserved); sb.AppendLine("m_xdesId:\t" + XdesID); sb.AppendLine("m_reservedCnt:\t" + ReservedCnt); sb.AppendLine("m_ghostRecCnt:\t" + GhostRecCnt); return sb.ToString(); }
public int GetBit(FlagBits index) { return(mState.GetBit((int)index)); }