Click or drag to resize

AttributeDatabaseExtensionsGetByteArrayAttribute Method (IAttributeDatabase, UInt32, Int32, Boolean)

Finds or creates an attribute.

Namespace:  Demo3D.PLC.Comms.AttrDb
Assembly:  PLC (in PLC.dll) Version: 15.0.2.11458
Syntax
C#
public static ByteArrayAttribute GetByteArrayAttribute(
	this IAttributeDatabase attrDb,
	uint attributeId,
	int numElements,
	out bool created
)

Parameters

attrDb
Type: Demo3D.PLC.Comms.AttrDbIAttributeDatabase
The attribute database.
attributeId
Type: SystemUInt32
The attribute id.
numElements
Type: SystemInt32
Number of elements in the array.
created
Type: SystemBoolean
True if the attribute was created.

Return Value

Type: ByteArrayAttribute
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