PFFieldChoiceValueHelperTargetItemType Methods |
The PFFieldChoiceValueHelperTargetItemType generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddItem(TargetItemType) |
Adds an item.
|
![]() | AddItem(PFItemReference) |
Adds an item.
|
![]() | AddItems(IEnumerableTargetItemType) |
Adds items.
|
![]() | AddItems(TargetItemType) |
Adds items.
|
![]() | Clear |
Removes all selected items.
|
![]() | Equals |
Indicates whether the current object is equal to another object of the same type.
|
![]() | GetItems |
Gets the selected items.
|
![]() | GetSelectedGuid |
Gets the item GUID of the choice value. Returns Guid.Empty if the value is null or empty.
|
![]() | GetSelectedGuids |
Gets the item GUIDs of the choice value. Returns an empty list if the value is null or empty.
|
![]() | GetSelectedId |
Gets the item id of the choice value. Returns -1 if the value is null or empty.
|
![]() | GetSelectedIds |
Gets the item ids of the choice value. Returns an empty list if the value is null or empty.
|
![]() | GetValue |
Gets the value. (Generic method)
(Inherited from PFFieldValueHelperFieldType, ValueType.) |
![]() | RemoveItem(Guid) |
Removes an item.
Note: does not throw an exception if the item is not found among the values.
|
![]() | RemoveItem(TargetItemType) |
Removes an item.
Note: does not throw an exception if the item is not found among the values.
|
![]() | RemoveItem(PFItemReference) |
Removes an item.
Note: does not throw an exception if the item is not found among the values.
|
![]() | Set(IEnumerableTargetItemType) |
Replaces the currently selected items by the given ones.
|
![]() | Set(TargetItemType) |
Replaces the currently selected items by the given ones.
|
![]() | Set(PFFieldChoiceValueHelperTargetItemType) |
Replaces the currently selected items by the given ones.
|
![]() | Set(PFItemReference) |
Replaces the currently selected items by the given one.
|
![]() | 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.) |