Call BasicCard CREATE COMPONENT command.

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

Syntax

C#
protected virtual int CmdCreateComponent(
	ComponentType componentType,
	BasicCardString pathname,
	byte[] attributes,
	byte[] data
)
Visual Basic
Protected Overridable Function CmdCreateComponent ( 
	componentType As ComponentType,
	pathname As BasicCardString,
	attributes As Byte(),
	data As Byte()
) As Integer
Visual C++
protected:
virtual int CmdCreateComponent(
	ComponentType componentType, 
	BasicCardString^ pathname, 
	array<unsigned char>^ attributes, 
	array<unsigned char>^ data
)
F#
abstract CmdCreateComponent : 
        componentType : ComponentType * 
        pathname : BasicCardString * 
        attributes : byte[] * 
        data : byte[] -> int 
override CmdCreateComponent : 
        componentType : ComponentType * 
        pathname : BasicCardString * 
        attributes : byte[] * 
        data : byte[] -> int 

Parameters

componentType
Type: BasicCard.BasicCards.Components..::..ComponentType
component type id
pathname
Type: BasicCard.BasicCards..::..BasicCardString
path of component
attributes
Type: array<System..::..Byte>[]()[][]
attributes (may be null)
data
Type: array<System..::..Byte>[]()[][]
data (may be null)

Return Value

Type: Int32
CID of new component

See Also