Click or drag to resize

PFFieldChoiceValue Methods

The PFFieldChoiceValue type exposes the following members.

Methods
  NameDescription
Public methodAddItem(PFItemReference)
Adds an item to the references.
Public methodAddItem(PFItem, String)
Adds an item to the references.
Public methodAddItems(String, PFItem)
Adds items to the references.
Public methodAddItems(IEnumerablePFItem, String)
Adds items to the references.
Public methodClone
Clones this instance.
Public methodStatic memberCreate
Creates a new instance of the PFFieldChoiceValue class.
Public methodGetDisplayValue
Generates the display value with the specified separator.
Public methodGetHTMLValue(PFFieldChoice, PFFieldChoiceValue_DisplaySeparatorType, Boolean, Boolean, String)
Generates the HTML value with the specified separator.
Public methodGetHTMLValue(PFFieldChoice, Boolean, Boolean, PFFieldChoiceValue_DisplaySeparatorType, String)
Generates an HTML code using a given format. This format can include {url} and {text}.
Public methodGetItems
Gets the selected items from references.
Public methodGetItemsT
Gets selected items from references.
Public methodGetSelectedGuids
Gets the GUIDs of selected items.
Public methodGetTextForValueComparison
Gets a text allowing the comparison with other values.
(Overrides PFFieldValueGetTextForValueComparison(Boolean).)
Public methodRemoveItem(Guid)
Removes an item from the references.
Public methodRemoveItem(PFItem)
Removes an item from the references.
Public methodRemoveItem(PFItemReference)
Removes an item from the references.
Public methodToString
Returns a String which can be used to initialize a new instance of this object.
(Overrides PFFieldValueToString.)
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 MethodGetSelectedId
Gets the item id of a choice value. Returns -1 if the value is null or empty.
(Defined by PFFieldChoiceValue_Utils.)
Public Extension MethodGetSelectedIds
Gets the item ids of a choice value. Returns an empty list if the value is null or empty.
(Defined by PFFieldChoiceValue_Utils.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsEmpty
Gets a value indicating whether the choice value is null or empty.
(Defined by PFFieldChoiceValue_Utils.)
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 MethodIsNotEmpty
Gets a value indicating whether the choice value is not null and contains references.
(Defined by PFFieldChoiceValue_Utils.)
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