VP Get binding path
História
Release | Mudanças |
---|---|
19 R5 | Adicionado |
VP Get binding path ( rangeObj : Object ) : Text
Parâmetro | Tipo | Descrição | ||
---|---|---|---|---|
rangeObj | Object | -> | Objeto intervalo | |
Resultados | Text | <- | Nome do atributo ligado à célula |
Descrição
O comando VP Get binding path
retorna o nome do atributo vinculado à célula especificada no rangeObj.
Em rangeObj, passe um objeto que seja um intervalo de células ou um intervalo combinado de células. Note que:
- Se rangeObj for um intervalo com várias células, o comando retornará o nome do atributo vinculado à primeira célula do intervalo.
- If rangeObj contains several ranges of cells, the command returns the attribute name linked to the first cell of the first range.
Exemplo
var $p; $options : Object
var $myAttribute : Text
$p:=New object
$p.firstName:="Freehafer"
$p.lastName:="Nancy" VP SET DATA CONTEXT("ViewProArea"; $p) VP SET BINDING PATH(VP Cell("ViewProArea"; 0; 0); "firstName")
VP SET BINDING PATH(VP Cell("ViewProArea"; 1; 0); "lastName")
$myAttribute:=VP Get binding path(VP Cell("ViewProArea"; 1; 0)) // "lastName"