Skip to content

AliasedFields.As<TFields> method

Aliases the fields with the specified alias.

public static TFields As<TFields>(this TFields fields, string alias)
    where TFields : RowFieldsBase
parameter description
TFields The type of the fields.
fields The fields.
alias The alias.

Return Value

An instance of RowFieldsBase with T0 replaced with the specified alias.

Exceptions

exception condition
ArgumentNullException alias is null or whitespace.

See Also