NewRecord Method

DTF API

Copy image CopyHover image
Deployment Tools Foundation NewRecord Method
Creates a new record that can be inserted into this table.
Declaration Syntax
C# Visual Basic Visual C++ F#
public TRecord NewRecord()
Public Function NewRecord As TRecord
public:
TRecord NewRecord()
member NewRecord : unit -> 'TRecord 
Return Value
TRecord
a record with all fields initialized to null
Remarks
Primary keys and required fields must be filled in with non-null values before the record can be inserted.

The record is tied to this table in this database; it cannot be inserted into another table or database.

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