public class GettingFieldEventArgs : HandledEventArgs
Public Class GettingFieldEventArgs
Inherits HandledEventArgs
public ref class GettingFieldEventArgs : public HandledEventArgs
type GettingFieldEventArgs =
class
inherit HandledEventArgs
end
The default value of the Handled property is , if the field is marked by NonSerializedAttribute and the value of IgnoreNonSerializedAttribute property is ; otherwise, .
You can set the Handled property to to prevent saving the current field, or you can set it to to force saving even non-serialized fields.
Context | Gets the context of this serialization. |
Field | Gets the field whose value is about to be stored. |
Name |
Gets or sets the name of the entry to be stored in the serialization stream.
Setting it to will cause an ArgumentNullException from SerializationInfo. To prevent storing any value make sure you set the Handled property to to omit the default serialization logic. |
Object | Gets the object that is being serialized. |
SerializationInfo | Gets the SerializationInfo of the Object being serialized. If you add the data manually make sure you set the Handled property to to omit the default serialization logic. |
Type |
Gets or sets the Type to be stored in the serialization stream.
Setting will cause an ArgumentNullException from SerializationInfo. To prevent storing any value make sure you set the Handled property to to omit the default serialization logic. |
Value |
Gets or sets the value to be stored in the serialization stream.
To prevent storing any value make sure you set the Handled property to to omit the default serialization logic. |
Convert |
Converts an Object specified in the obj parameter to the desired targetType.
See the Examples section of the generic ConvertTTarget(Object, CultureInfo) overload for an example. (Defined by ObjectExtensions) |
ConvertTTarget |
Converts an Object specified in the obj parameter to the desired TTarget.
(Defined by ObjectExtensions) |
In |
Gets whether item is among the elements of set.
See the Examples section of the generic InT(T, T) overload for an example. (Defined by ObjectExtensions) |
TryConvert |
Tries to convert an Object specified in the obj parameter to the desired targetType.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example. (Defined by ObjectExtensions) |
TryConvert |
Tries to convert an Object specified in the obj parameter to the desired targetType.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example. (Defined by ObjectExtensions) |
TryConvertTTarget |
Tries to convert an Object specified in the obj parameter to the desired TTarget.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example. (Defined by ObjectExtensions) |
TryConvertTTarget |
Tries to convert an Object specified in the obj parameter to the desired TTarget.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example. (Defined by ObjectExtensions) |