PFFieldFileHolderValueHelper Methods |
The PFFieldFileHolderValueHelper type exposes the following members.
Name | Description | |
---|---|---|
AddFile(String) |
Adds a file.
| |
AddFile(PFFile) |
Adds a file.
| |
AddFile(PFFileReference) |
Adds a file.
| |
Clear |
Removes all selected files.
WARNING: all files will be deleted on the next item save.
| |
Equals |
Indicates whether the current object is equal to another object of the same type.
| |
GetSelectedGuids |
Gets the GUIDs of the selected files. Returns an empty list if the value is null or empty.
| |
GetSelectedIds |
Gets the ids of the selected files. Returns an empty list if the value is null or empty.
| |
GetValue |
Gets the value. (Generic method)
(Inherited from PFFieldValueHelperFieldType, ValueType.) | |
RemoveFile(Guid) |
Removes a file.
| |
RemoveFile(Int64) |
Removes a file.
| |
RemoveFile(PFFile) |
Removes a file.
| |
RemoveFile(PFFileReference) |
Removes a file.
| |
Set(String) |
Replaces the files with a new one.
WARNING: all other files will be deleted on the next item save.
| |
Set(PFFile) |
Replaces the files with a new one.
WARNING: all other files will be deleted on the next item save.
| |
Set(PFFileReference) |
Replaces the files with a new one.
WARNING: all other files will be deleted on the next item save.
| |
ToString |
Returns a string that represents the current object.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) | |
EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) | |
EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) | |
GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) | |
IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) | |
IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) | |
Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |