Click or drag to resize

PFObject Methods

The PFObject type exposes the following members.

Methods
  NameDescription
Protected methodGetValueBinary
Gets a value in byte[] format. Will return null if the value does not exist or is null.
Protected methodGetValueBoolean
Gets a value in bool format. Will return false if the value does not exist or is null.
Protected methodGetValueDateTimeOffset
Gets a value in DateTimeOffset format. Will return DateTimeOffset.MinValue if the value does not exist or is null.
Protected methodGetValueDecimal
Gets a value in decimal format. Will return 0 if the value does not exist or is null.
Protected methodGetValueDouble
Gets a value in double format. Will return 0 if the value does not exist or is null.
Protected methodGetValueEnumT
Gets a value and converts it to an enum value. Will return default(T) if the value does not exist or is null.
Protected methodGetValueFiles
Gets a file value. Will return null if the value does not exist or is null.
Protected methodGetValueFloat
Gets a value in float format. Will return 0 if the value does not exist or is null.
Protected methodGetValueGuid
Gets a value in Guid format. Will return Guid.Empty if the value does not exist or is null.
Protected methodGetValueInt
Gets a value in int format. Will return 0 if the value does not exist or is null.
Protected methodGetValueItems
Gets an item value. Will return null if the value does not exist or is null.
Protected methodGetValueLong
Gets a value in long format. Will return 0 if the value does not exist or is null.
Protected methodGetValueNullableBoolean
Gets a value in bool format. Will return null if the value does not exist or is null.
Protected methodGetValueNullableDateTimeOffset
Gets a value in DateTimeOffset format. Will return null if the value does not exist, is null, or is equal to DateTimeOffset.MinValue.
Protected methodGetValueNullableDecimal
Gets a value in decimal format. Will return null if the value does not exist or is null.
Protected methodGetValueObjectT
Gets a value of a given type. Will return null if the value does not exist or is null.
Protected methodGetValueText
Gets a value as text. Will return String.Empty if the value does not exist or is null.
Protected methodGetValueUrl
Gets an url value. Will return null if the value does not exist or is null.
Protected methodGetValueUsers
Gets a user value. Will return null if the value does not exist or is null.
Protected methodSetValue
Sets a value in the data dictionary for a given key.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also