public virtual string GetProperty(string strPropertyName, string strFormat, System.Globalization.CultureInfo formatProvider, DotNetNuke.Entities.Users.UserInfo accessingUser, DotNetNuke.Services.Tokens.Scope accessLevel, ref bool propertyNotFound)
        {
            switch (strPropertyName.ToLower())
            {
            case "referenceid": // Int
                return(ReferenceId.ToString(strFormat, formatProvider));

            case "codeblockid": // Int
                return(CodeBlockId.ToString(strFormat, formatProvider));

            case "fullname": // VarChar
                return(PropertyAccess.FormatString(FullName, strFormat));

            case "offset": // Int
                return(Offset.ToString(strFormat, formatProvider));

            case "referencedmemberid": // Int
                if (ReferencedMemberId == null)
                {
                    return("");
                }
                ;
                return(((int)ReferencedMemberId).ToString(strFormat, formatProvider));

            default:
                propertyNotFound = true;
                break;
            }

            return(Null.NullString);
        }
        public virtual string GetProperty(string strPropertyName, string strFormat, System.Globalization.CultureInfo formatProvider, DotNetNuke.Entities.Users.UserInfo accessingUser, DotNetNuke.Services.Tokens.Scope accessLevel, ref bool propertyNotFound)
        {
            switch (strPropertyName.ToLower())
            {
            case "codeblockid": // Int
                return(CodeBlockId.ToString(strFormat, formatProvider));

            case "memberid": // Int
                return(MemberId.ToString(strFormat, formatProvider));

            case "version": // VarChar
                return(PropertyAccess.FormatString(Version, strFormat));

            case "codehash": // Char
                return(PropertyAccess.FormatString(CodeHash, strFormat));

            case "startline": // Int
                if (StartLine == null)
                {
                    return("");
                }
                ;
                return(((int)StartLine).ToString(strFormat, formatProvider));

            case "startcolumn": // Int
                if (StartColumn == null)
                {
                    return("");
                }
                ;
                return(((int)StartColumn).ToString(strFormat, formatProvider));

            case "endline": // Int
                if (EndLine == null)
                {
                    return("");
                }
                ;
                return(((int)EndLine).ToString(strFormat, formatProvider));

            case "endcolumn": // Int
                if (EndColumn == null)
                {
                    return("");
                }
                ;
                return(((int)EndColumn).ToString(strFormat, formatProvider));

            case "filename": // NVarChar
                if (FileName == null)
                {
                    return("");
                }
                ;
                return(PropertyAccess.FormatString(FileName, strFormat));

            default:
                propertyNotFound = true;
                break;
            }

            return(Null.NullString);
        }