SerializationInfoExtensionsContainsName Method
Gets whether an entry with the specified
name exists in the specified
SerializationInfo.
Namespace: KGySoft.Serialization.BinaryAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public static bool ContainsName(
this SerializationInfo info,
string name
)
<ExtensionAttribute>
Public Shared Function ContainsName (
info As SerializationInfo,
name As String
) As Boolean
public:
[ExtensionAttribute]
static bool ContainsName(
SerializationInfo^ info,
String^ name
)
[<ExtensionAttribute>]
static member ContainsName :
info : SerializationInfo *
name : string -> bool
- info SerializationInfo
- The SerializationInfo to check.
- name String
- The name of the value to be searched for.
Boolean if the
SerializationInfo contains an entry with the specified
name;
otherwise,
.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).