NonStandardProperty Class

Represents a vCard property that is not defined by the official standards.

Definition

Namespace: FolkerKinzel.VCards.Models.Properties
Assembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.0.1+a91cc3f0fd39aeb548e16006a60ca9dd10a304a2
C#
public sealed class NonStandardProperty : VCardProperty, 
	IEnumerable<NonStandardProperty>, IEnumerable
Inheritance
Object    VCardProperty    NonStandardProperty
Implements
IEnumerableNonStandardProperty, IEnumerable

Remarks

  Important

To write NonStandardProperty objects into a vCard, the flag WriteNonStandardProperties must be set.

Please note that when using the class, yourself is responsible for the standard-compliant masking, unmasking, encoding and decoding of the data.

Constructors

NonStandardPropertyInitializes a new NonStandardProperty object.

Properties

GroupCorresponds to the group identifier of a vCard property, or is null if the VCardProperty does not belong to any group.
(Inherited from VCardProperty)
IsEmptyReturns true, if the VCardProperty object does not contain any usable data, otherwise false.
(Overrides VCardPropertyIsEmpty)
KeyThe key ("name") of the vCard property.
ParametersGets the data of the parameter section of a vCard property.
(Inherited from VCardProperty)
ValueThe data provided by the NonStandardProperty (raw String data).

Methods

CloneCreates a new object that is a copy of the current instance.
(Overrides VCardPropertyClone)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Overrides VCardPropertyToString)

Extension Methods

ConcatWithNonStandardProperty Concatenates two sequences of VCardProperty objects. (Most VCardProperty ojects implement IEnumerable<VCardPoperty> and are themselves such a sequence.)
(Defined by IEnumerableExtension)
ContainsGroupNonStandardProperty Indicates whether values contains an item that has the specified Group identifier.
(Defined by IEnumerableExtension)
FirstOrNullNonStandardProperty Gets the first VCardProperty from a collection of VCardProperty objects. The method takes the Index property into account and allows to specify whether or not to ignore empty items.
(Defined by IEnumerableExtension)
FirstOrNullNonStandardProperty Gets the first VCardProperty from a collection of VCardProperty objects and allows filtering of the items, and to specify whether or not to ignore empty items.
(Defined by IEnumerableExtension)
FirstOrNullHasGroupNonStandardProperty Gets the first VCardProperty in a collection whose Group identifier matches the specified Group identifier.
(Defined by IEnumerableExtension)
ItemsNonStandardProperty Yields the VCardProperty instances in values in their current order and allows to specify whether or not empty VCardProperty instances shall be part of the result.
(Defined by IEnumerableExtension)
OrderByIndexNonStandardProperty Sorts the elements in values ascending by the value of their Index property.
(Defined by IEnumerableExtension)
OrderByPrefNonStandardProperty Sorts the elements in values ascending by the value of their Preference property.
(Defined by IEnumerableExtension)
PrefOrNullNonStandardProperty Gets the most preferred VCardProperty from a collection of VCardProperty objects and allows to specify whether or not to ignore empty items.
(Defined by IEnumerableExtension)
PrefOrNullNonStandardProperty Gets the most preferred VCardProperty from a collection of VCardProperty objects and allows additional filtering of the items, and to specify whether or not to ignore empty items.
(Defined by IEnumerableExtension)
RemoveNonStandardProperty Removes each item that matches the specified predicate from values.
(Defined by IEnumerableExtension)
RemoveNonStandardProperty Removes each occurrence of value from values.
(Defined by IEnumerableExtension)

Explicit Interface Implementations

IEnumerableGetEnumeratorReturns an enumerator that iterates through a collection.
IEnumerableNonStandardPropertyGetEnumeratorReturns an enumerator that iterates through the collection.

See Also