ColumnInfo Constructor (name, type, size, isRequired, isTemporary, isLocalizable)

DTF API

Copy image CopyHover image
Deployment Tools Foundation ColumnInfo Constructor (name, type, size, isRequired, isTemporary, isLocalizable)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerColumnInfoColumnInfo(String, Type, Int32, Boolean, Boolean, Boolean)
Creates a new ColumnInfo object from a list of parameters.
Declaration Syntax
C# Visual Basic Visual C++ F#
public ColumnInfo(
	string name,
	Type type,
	int size,
	bool isRequired,
	bool isTemporary,
	bool isLocalizable
)
Public Sub New ( 
	name As String,
	type As Type,
	size As Integer,
	isRequired As Boolean,
	isTemporary As Boolean,
	isLocalizable As Boolean
)
public:
ColumnInfo(
	String^ name, 
	Type^ type, 
	int size, 
	bool isRequired, 
	bool isTemporary, 
	bool isLocalizable
)
new : 
        name : string * 
        type : Type * 
        size : int * 
        isRequired : bool * 
        isTemporary : bool * 
        isLocalizable : bool -> ColumnInfo
Parameters
name (String)
name of the column
type (Type)
type of the column; must be one of the following: Int16, Int32, String, or Stream
size (Int32)
the maximum number of characters for String columns; ignored for other column types
isRequired (Boolean)
true if the column is required to have a non-null value
isTemporary (Boolean)
true to if the column is only in-memory and not persisted with the database
isLocalizable (Boolean)
for String columns, indicates the column is localizable; ignored for other column types

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)