C# Класс Rock.Web.UI.Controls.PhoneNumbersField

Наследование: RockBoundField
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetExportValue ( System.Web.UI.WebControls.GridViewRow row ) : object

Gets the value that should be exported to Excel

Защищенные методы

Метод Описание
FormatDataValue ( object dataValue, bool encode ) : string

Formats the specified field value for a cell in the T:System.Web.UI.WebControls.BoundField object.

FormatPhoneNumber ( bool unlisted, object countryCode, object number, int phoneNumberTypeId, bool formatAsHtml ) : string

Formats the phone number.

Описание методов

FormatDataValue() защищенный Метод

Formats the specified field value for a cell in the T:System.Web.UI.WebControls.BoundField object.
protected FormatDataValue ( object dataValue, bool encode ) : string
dataValue object The field value to format.
encode bool true to encode the value; otherwise, false.
Результат string

FormatPhoneNumber() защищенный Метод

Formats the phone number.
protected FormatPhoneNumber ( bool unlisted, object countryCode, object number, int phoneNumberTypeId, bool formatAsHtml ) : string
unlisted bool if set to true [unlisted].
countryCode object The country code.
number object The number.
phoneNumberTypeId int The phone number type identifier.
formatAsHtml bool if set to true [format as HTML].
Результат string

GetExportValue() публичный Метод

Gets the value that should be exported to Excel
public GetExportValue ( System.Web.UI.WebControls.GridViewRow row ) : object
row System.Web.UI.WebControls.GridViewRow
Результат object