ColumnInfo Class

Microsoft Deployment Tools

Deployment Tools Foundation ColumnInfo Class
Defines a single column of a table in an installer database.
Declaration Syntax
C# Visual Basic Visual C++
public class ColumnInfo
Public Class ColumnInfo
public ref class ColumnInfo
Members
All Members Constructors Methods Properties



Icon Member Description
ColumnInfo(String, String)
Creates a new ColumnInfo object from a column definition.

ColumnInfo(String, Type, Int32, Boolean)
Creates a new ColumnInfo object from a list of parameters.

ColumnInfo(String, Type, Int32, Boolean, Boolean, Boolean)
Creates a new ColumnInfo object from a list of parameters.

ColumnDefinitionString
Gets a short string defining the type and size of the column.

DBType
Gets the type of the column as a System.Data.DbType. This is one of the following: Int16, Int32, String, or Binary

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsLocalizable
Gets a value indicating whether the column is a string column that is localizable.

IsRequired
Gets a value indicating whether the column must be non-null when inserting a record.

IsTemporary
Gets a value indicating whether the column is temporary. Temporary columns are not persisted when the database is saved to disk.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
Gets the name of the column.

Size
Gets the size of the column.

SqlCreateString
Gets an SQL fragment that can be used to create this column within a CREATE TABLE statement.

ToString()()()
Gets the name of the column.
(Overrides Object.ToString()()().)
Type
Gets the type of the column as a System.Type. This is one of the following: Int16, Int32, String, or Stream

Remarks
Once created, a ColumnInfo object is immutable.
Inheritance Hierarchy
Object
ColumnInfo

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller) Version: 3.0.0.0 (3.5.1623.0)