c# - Listing arguments for a method node -
i'm trying list arguments method.
when use sample client can see following information:
but when use _session.browse()
children of "methodio" can't see arguments:
var browsedescr = new browsedescription { nodeid = methodnode.nodeid.tostring(), browsedirection = browsedirection.forward, referencetypeid = referencetypeids.aggregates, includesubtypes = true, nodeclassmask = (uint)(nodeclass.variable | nodeclass.object), resultmask = (uint)browseresultmask.all }; var arguments = browse(browsedescr);
result:
i've tried:
- browse children of
inputargument
node - to use
_session.readnode(methodnode.nodeid.tostring());
so doing wrong? how can figure out arguments method has?
from screenshot looks you're getting 2 expected nodes back, not?
once have these nodes, actual datatype of input , output arguments method determined datatype of inputarguments , outputarguments nodes.
Comments
Post a Comment