22. High-level API Reference
358
www.yoctopuce.com
YAnButton
anbutton
→
loadAttribute()
Returns the current value of a single function attribute, as a text string, as quickly as possible but
without using the cached value.
js
function loadAttribute(
attrName
)
cpp
string loadAttribute( string
attrName
)
m
-(NSString*) loadAttribute : (NSString*)
attrName
pas
function loadAttribute(
attrName
: string): string
vb
function loadAttribute( ) As String
cs
string loadAttribute( string
attrName
)
java
String loadAttribute( String
attrName
)
uwp
Task<string> loadAttribute( string
attrName
)
py
def loadAttribute(
attrName
)
php
function loadAttribute(
$attrName
)
es
function loadAttribute(
attrName
)
Parameters :
attrName
the name of the requested attribute
Returns :
a string with the value of the the attribute
On failure, throws an exception or returns an empty string.
Содержание Yocto-Display
Страница 1: ...Yocto Display User Manual...
Страница 2: ......
Страница 40: ...34 www yoctopuce com...
Страница 52: ...46 www yoctopuce com...
Страница 84: ...78 www yoctopuce com...
Страница 92: ...86 www yoctopuce com...
Страница 130: ...124 www yoctopuce com...
Страница 158: ...22 High level API Reference 152 www yoctopuce com On failure throws an exception or returns a negative error code...
Страница 422: ...416 www yoctopuce com...
Страница 424: ...24 Characteristics 418 www yoctopuce com...