Click or drag to resize

AccessRightsExtensionsCanWriteToPLC Method

True if accessRights allows WriteToPLC access.

Namespace:  Demo3D.PLC.Comms
Assembly:  PLC (in PLC.dll) Version: 15.0.2.11458
Syntax
C#
public static bool CanWriteToPLC(
	this AccessRights accessRights
)

Parameters

accessRights
Type: Demo3D.PLC.CommsAccessRights
The access rights to check.

Return Value

Type: Boolean
True if WriteToPLC access is allowed.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type AccessRights. 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