Create a component within card.

Namespace: BasicCard.BasicCards.Components
Assembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)

Syntax

C#
public int CreateComponent(
	ComponentType componenttype,
	BasicCardString componentname,
	byte[] attributes,
	byte[] data
)
Visual Basic
Public Function CreateComponent ( 
	componenttype As ComponentType,
	componentname As BasicCardString,
	attributes As Byte(),
	data As Byte()
) As Integer
Visual C++
public:
int CreateComponent(
	ComponentType componenttype, 
	BasicCardString^ componentname, 
	array<unsigned char>^ attributes, 
	array<unsigned char>^ data
)
F#
member CreateComponent : 
        componenttype : ComponentType * 
        componentname : BasicCardString * 
        attributes : byte[] * 
        data : byte[] -> int 

Parameters

componenttype
Type: BasicCard.BasicCards.Components..::..ComponentType
componen type
componentname
Type: BasicCard.BasicCards..::..BasicCardString
component name/path
attributes
Type: array<System..::..Byte>[]()[][]
component attributes
data
Type: array<System..::..Byte>[]()[][]
component data

Return Value

Type: Int32
CID

See Also