GetCustomAttribute_str
Syntax
Definition:
METHOD GetCustomAttribute_str : BOOL
VAR_INPUT
sCustomAttributeName : T_MaxString;
sDstAttributeStringBuffer : Reference To T_MaxString;
pnStringLen : Pointer To UDINT;
END_VAR
Inputs
|
Name |
Type |
Description |
|---|---|---|
|
sCustomAttributeName |
T_MaxString |
Name of the custom string attribute |
|
sDstAttributeStringBuffer |
Reference To T_MaxString |
Pointer to a string buffer to write the custom string attribute into |
|
pnStringLen |
Pointer To UDINT |
(Optional) Actual length of the string attribute |
Return value
BOOL
Methods reads a custom attribute specified by sCustomAttributeName of type T_MaxString.
sCustomKey : T_MaxString := XmlTreeItem/XmlAttribute';
sValue : T_MaxString ;fbprediction.GetCustomAttribute_str(sCustomKey, sValue);