SerializationInfoExtensionsRemoveValue Method

Removes a value of the specified name from the SerializationInfo.

Definition

Namespace: KGySoft.Serialization.Binary
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public static bool RemoveValue(
	this SerializationInfo info,
	string name
)

Parameters

info  SerializationInfo
The SerializationInfo to remove the value from.
name  String
The name of the entry to remove.

Return Value

Boolean
if an entry with the specified name existed in the SerializationInfo and has been removed; otherwise, .

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type SerializationInfo. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also