Language

CollectionModel.CreateRecord<TRecord> Method

Definition

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

TRecord

A new instance of the specified record type.

Applies to