Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll, IPS7LnkNet.Advanced.dll
The PlcName type exposes the following members.
Initializes a new instance of the PlcName class with serialized data.
C#
protected PlcName(SerializationInfo info, StreamingContext context)
Parameters
info
Serialization.SerializationInfo
The Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
context
Serialization.StreamingContext
The Serialization.StreamingContext that contains contextual information about the source or destination.
Exceptions
The info parameter is null reference (Nothing in Visual Basic).
Serialization.SerializationException
The class name is null reference (Nothing in Visual Basic) or HResult is zero (0).
Sets the Serialization.SerializationInfo with information about the exception.
C#
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)] public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
info
Serialization.SerializationInfo
The Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
context
Serialization.StreamingContext
The Serialization.StreamingContext that contains contextual information about the source or destination.
Exceptions
The info
parameter is a null reference (Nothing in Visual Basic).
Converts the name to its string representation.
C#
public override string ToString()
Returns
A string that contains the name.
Returns a value indicating whether two instance of PlcName are equal.
C#
public static bool operator ==(PlcName left, PlcName right)
Converts a string formatted as name to an PlcName object.
C#
public static implicit operator PlcName(string value)
Exceptions
The value
is not a valid PLC name.
Returns a value indicating whether two instances of PlcName are not equal.
C#
public static bool operator !=(PlcName left, PlcName right)