Exemple #1
0
        /// <summary>
        /// Create an empty row with the specified schema.
        /// </summary>
        /// <param name="tableDefinition"></param>
        public Row(TableDefinition tableDefinition)
        {
            Int32 result = API.TabRowCreate(out m_Handle, tableDefinition.Handle);

            if (result != API.TAB_RESULT_Success)
            {
                throw new TableauException(ConvertEnum.FromResult(result), API.TabGetLastErrorMessage());
            }
        }