NXOpen .NET Reference  12.0.0
Public Member Functions | Properties | List of all members
NXOpen.TableEditorDefaultDataProvider Class Reference

Provides basic data for a Table Editor block. More...

Inheritance diagram for NXOpen.TableEditorDefaultDataProvider:
NXOpen.ITableEditorDataProvider

Public Member Functions

unsafe bool SetString (int rows, int column, string stringData)
 Sets string data at a particular location in the table. More...
 
unsafe bool SetString (int[] rows, int column, string stringData)
 Sets string data on a range of table cells in a specified column. More...
 
unsafe string GetString (int row, int column)
 Gets the string data at a particular location in the table. More...
 
unsafe bool SetInteger (int rows, int column, int integerData)
 Sets integer data at a particular location in the table. More...
 
unsafe bool SetInteger (int[] rows, int column, int integerData)
 Sets integer data on a range of table cells in a specified column. More...
 
unsafe int GetInteger (int row, int column, out bool isUnassigned)
 Gets the integer data at a particular location in the table. More...
 
unsafe bool SetDouble (int rows, int column, double doubleData)
 Sets double data at a particular location in the table. More...
 
unsafe bool SetDouble (int[] rows, int column, double doubleData)
 Sets double data on a range of table cells in a specified column. More...
 
unsafe double GetDouble (int row, int column, out bool isUnassigned)
 Gets the double data at a particular location in the table. More...
 
unsafe bool SetBoolean (int rows, int column, bool booleanData)
 Sets boolean data at a particular location in the table. More...
 
unsafe bool SetBoolean (int[] rows, int column, bool booleanData)
 Sets boolean data on a range of table cells in a specified column. More...
 
unsafe bool GetBoolean (int row, int column)
 Gets the boolean data at a particular location in the table. More...
 
unsafe bool UnsetValue (int row, int column)
 Unsets the data at a particular location in the table. More...
 
unsafe bool UnsetValue (int[] rows, int column)
 Unsets the data on a range of table cells in a specified column. More...
 
unsafe void Destroy ()
 Deletes the data provider. More...
 

Properties

unsafe int ColumnCount [get, set]
 Returns or sets the number of columns in the table More...
 
unsafe int RowCount [get, set]
 Returns or sets the number of rows in the table More...
 
- Properties inherited from NXOpen.ITableEditorDataProvider
int ColumnCount [get, set]
 Returns or sets the number of columns in the table More...
 
int RowCount [get, set]
 Returns or sets the number of rows in the table More...
 

Detailed Description

Provides basic data for a Table Editor block.

To create a new instance of this class, use NXOpen.Session.CreateTableEditorDefaultDataProvider

Created in NX10.0.0

Member Function Documentation

unsafe void NXOpen.TableEditorDefaultDataProvider.Destroy ( )

Deletes the data provider.

This method should always be called when the data provider is no longer needed.

Created in NX11.0.0

License requirements: None.

Implements NXOpen.ITableEditorDataProvider.

unsafe bool NXOpen.TableEditorDefaultDataProvider.GetBoolean ( int  row,
int  column 
)

Gets the boolean data at a particular location in the table.

Created in NX11.0.0

License requirements: None.

Parameters
rowthe rows to query
columnthe column to query
Returns
the boolean data at the row and column specified

Implements NXOpen.ITableEditorDataProvider.

unsafe double NXOpen.TableEditorDefaultDataProvider.GetDouble ( int  row,
int  column,
out bool  isUnassigned 
)

Gets the double data at a particular location in the table.

Created in NX11.0.0

License requirements: None.

Parameters
rowthe rows to query
columnthe column to query
isUnassignedis the value unassigned
Returns
the double data at the row and column specified

Implements NXOpen.ITableEditorDataProvider.

unsafe int NXOpen.TableEditorDefaultDataProvider.GetInteger ( int  row,
int  column,
out bool  isUnassigned 
)

Gets the integer data at a particular location in the table.

Created in NX11.0.0

License requirements: None.

Parameters
rowthe rows to query
columnthe column to query
isUnassignedis the value unassigned
Returns
the integer data at the row and column specified

Implements NXOpen.ITableEditorDataProvider.

unsafe string NXOpen.TableEditorDefaultDataProvider.GetString ( int  row,
int  column 
)

Gets the string data at a particular location in the table.

Created in NX10.0.0

License requirements: None.

Parameters
rowthe rows to query
columnthe column to query
Returns
the string data at the row and column specified

Implements NXOpen.ITableEditorDataProvider.

unsafe bool NXOpen.TableEditorDefaultDataProvider.SetBoolean ( int  rows,
int  column,
bool  booleanData 
)

Sets boolean data at a particular location in the table.

Created in NX11.0.0

License requirements: None.

Parameters
rowsthe row to set
columnthe column to set
booleanDatathe boolean data to set
Returns
whether or not the data was successfully set.

Implements NXOpen.ITableEditorDataProvider.

unsafe bool NXOpen.TableEditorDefaultDataProvider.SetBoolean ( int[]  rows,
int  column,
bool  booleanData 
)

Sets boolean data on a range of table cells in a specified column.

Returns whether any data was successfully set.

Created in NX11.0.0

License requirements: None.

Parameters
rowsthe rows to set
columnthe column to be set
booleanDatathe boolean data to set
Returns
whether or not the data was successfully set.

Implements NXOpen.ITableEditorDataProvider.

unsafe bool NXOpen.TableEditorDefaultDataProvider.SetDouble ( int  rows,
int  column,
double  doubleData 
)

Sets double data at a particular location in the table.

Created in NX11.0.0

License requirements: None.

Parameters
rowsthe row to set
columnthe column to set
doubleDatathe double data to set
Returns
whether or not the data was successfully set.

Implements NXOpen.ITableEditorDataProvider.

unsafe bool NXOpen.TableEditorDefaultDataProvider.SetDouble ( int[]  rows,
int  column,
double  doubleData 
)

Sets double data on a range of table cells in a specified column.

Returns whether any data was successfully set.

Created in NX11.0.0

License requirements: None.

Parameters
rowsthe rows to set
columnthe column to be set
doubleDatathe double data to set
Returns
whether or not the data was successfully set.

Implements NXOpen.ITableEditorDataProvider.

unsafe bool NXOpen.TableEditorDefaultDataProvider.SetInteger ( int  rows,
int  column,
int  integerData 
)

Sets integer data at a particular location in the table.

Created in NX11.0.0

License requirements: None.

Parameters
rowsthe row to set
columnthe column to set
integerDatathe integer data to set
Returns
whether or not the data was successfully set.

Implements NXOpen.ITableEditorDataProvider.

unsafe bool NXOpen.TableEditorDefaultDataProvider.SetInteger ( int[]  rows,
int  column,
int  integerData 
)

Sets integer data on a range of table cells in a specified column.

Returns whether any data was successfully set.

Created in NX11.0.0

License requirements: None.

Parameters
rowsthe rows to set
columnthe column to be set
integerDatathe integer data to set
Returns
whether or not the data was successfully set.

Implements NXOpen.ITableEditorDataProvider.

unsafe bool NXOpen.TableEditorDefaultDataProvider.SetString ( int  rows,
int  column,
string  stringData 
)

Sets string data at a particular location in the table.

Created in NX10.0.0

License requirements: None.

Parameters
rowsthe row to set
columnthe column to set
stringDatathe string data to set
Returns
whether or not the data was successfully set.

Implements NXOpen.ITableEditorDataProvider.

unsafe bool NXOpen.TableEditorDefaultDataProvider.SetString ( int[]  rows,
int  column,
string  stringData 
)

Sets string data on a range of table cells in a specified column.

Returns whether any data was successfully set.

Created in NX10.0.0

License requirements: None.

Parameters
rowsthe rows to set
columnthe column to be set
stringDatathe string data to set
Returns
whether or not the data was successfully set.

Implements NXOpen.ITableEditorDataProvider.

unsafe bool NXOpen.TableEditorDefaultDataProvider.UnsetValue ( int  row,
int  column 
)

Unsets the data at a particular location in the table.

Created in NX11.0.0

License requirements: None.

Parameters
rowthe row to unset
columnthe column to unset
Returns
whether or not the data was successfully unset.

Implements NXOpen.ITableEditorDataProvider.

unsafe bool NXOpen.TableEditorDefaultDataProvider.UnsetValue ( int[]  rows,
int  column 
)

Unsets the data on a range of table cells in a specified column.

Returns whether any data was successfully unset.

Created in NX11.0.0

License requirements: None.

Parameters
rowsthe rows to unset
columnthe column to be unset
Returns
whether or not the data was successfully unset.

Implements NXOpen.ITableEditorDataProvider.

Property Documentation

unsafe int NXOpen.TableEditorDefaultDataProvider.ColumnCount
getset

Returns or sets the number of columns in the table

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe int NXOpen.TableEditorDefaultDataProvider.RowCount
getset

Returns or sets the number of rows in the table

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: None.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.