ni.com is currently experiencing unexpected issues.

Some services may be unavailable at this time.

取消
显示结果 
搜索替代 
您的意思是: 

Difference Between Property node and Invoke node

Hey all,
I just wanted to know the difference between Property node and Invoke node. Also could any one please let me know what does Methods exactly means. I mean there is a property node naming dbl-click (i.e. double click) in ListBox, but in Multi Column ListBox, dbl-click is not a property but a method.
 
so I just wanna know the difference between both.
 
Thank you
--
Regards,
Sarang Dhananjay Jaiswal
Satyam Development Center, Banglore, INDIA
0 项奖励
1 条消息(共 3 条)
17,544 次查看
The online help says it best:
 
Property Node: Gets (reads) and/or sets (writes) properties of a reference.

Invoke Node: Invokes a method or action on a reference.

Property nodes let's you set functional or cosmetic properties of items, Invoke nodes have to do with actions. All this said, sometimes the use is a bit inconsistent as in the double-click items you mentioned. I'm not sure what the reason is. 😉

2 条消息(共 3 条)
17,532 次查看
Properties and methods are general programming terms (not just LabVIEW's).  Here's what Microsoft has to say about these:
 
"In general, a property is data about an object, while a method is an action the object can be asked to perform. Some things are obviously properties, like Color and Name, and some are obviously methods, like Move and Show.

As with any facet of human endeavor, however, there's a gray area in which an argument can be made either way."

Qouted from: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconisitpropertyormet...

-Khalid

3 条消息(共 3 条)
17,525 次查看