CollectionModel.CreateRecord<TRecord> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Instantiates a new record of the specified type.
public:
generic <typename TRecord>
TRecord CreateRecord();
public TRecord CreateRecord<TRecord>();
member this.CreateRecord : unit -> 'Record
Public Function CreateRecord(Of TRecord) () As TRecord
Type Parameters
- TRecord
The type of the record to create.
Returns
A new instance of the specified record type.