PlcMemberAttribute Class

Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll

Specifies that a particular class member is to be used as a PlcMember.

C#

[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
public class PlcMemberAttribute : Attribute, _Attribute


Inheritance ObjectAttribute › PlcMemberAttribute


Attributes AttributeUsageAttribute


Implements InteropServices._Attribute

Name Description
PlcMemberAttribute(PlcAddress) Initializes a new instance of the PlcMemberAttribute class using the address.
PlcMemberAttribute(String) Initializes a new instance of the PlcMemberAttribute class using the specified address.
Name Description
Address Gets the address associated with the PlcMember.
CanRead Gets or sets a value indicating whether the member can be read.
CanWrite Gets or sets a value indicating whether the member can be written to.
Length Gets or sets the maximum length of the value that can be assigned to the PlcMember.