Click or drag to resize

AttributeDatabaseExtensionsGetWordAttribute Method

Finds or creates an attribute.

Namespace:  Demo3D.PLC.Comms.AttrDb
Assembly:  PLC (in PLC.dll) Version: 14.0.0.10531
Syntax
C#
public static WordAttribute GetWordAttribute(
	this IAttributeDatabase attrDb,
	ushort attributeId
)

Parameters

attrDb
Type: Demo3D.PLC.Comms.AttrDbIAttributeDatabase
The attribute database.
attributeId
Type: SystemUInt16
The attribute id.

Return Value

Type: WordAttribute
The attribute.

Usage Note

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