CellValue

General

CellValue és una classe en Aspose.Cells FOSS per a C++.

Aquesta classe proporciona 19 mètodes per treballar amb objectes CellValue en programes C++. Els mètodes disponibles inclouen: AsBool, AsDateTime, AsDouble, AsInteger, AsString, CellValue, IsBool, IsDateTime, IsDouble, IsEmpty, IsInteger, IsString. Tots els membres públics són accessibles a qualsevol aplicació C++ després d’instal·lar el paquet FOSS per C++.

Mètodes

SignaturaDescripció
CellValue()L’exemple de CellValue en aquesta instància.
CellValue(v: int)
CellValue(v: double)
CellValue(v: bool)
CellValue(v: char)
CellValue(v: std::string)
CellValue(v: std::string_view)
CellValue(v: DateTime)
IsEmpty() → boolRetorna true si està establert en null.
IsInteger() → boolRetorna true si el nombre enteru està establert.
IsDouble() → boolRetorna true si el doble està establert.
IsBool() → boolRetorna true si bool està establert.
IsString() → boolRetorna true si la cadena està establerta.
IsDateTime() → boolRetorna true si s’ha establert la data i l’hora.
AsDouble() → doubleL’exemple de AsDouble en aquesta instància.
AsInteger() → intL’exemple de AsInteger en aquesta instància.
AsBool() → boolL’exemple de AsBool en aquesta instància.
AsString() → std::stringL’exemple de AsString en aquesta instància.
AsDateTime() → DateTimeL’exemple de AsDateTime en aquesta instància.

Vegeu també

 Català