<< 点击显示目录 >> 主页 PVI通信 > PVI帮助信息 > PVI Services > BR.AN.Namespace > BR.AN.PviServices > Variable Class > Variable Constructor > Variable Constructor |
Initializes a new instance of the variable class to create a member object. This instance will be automatically added to the parents MemberCollection.
[Visual Basic]
Public Overloads Sub New( _
ByVal variable As Variable, _
ByVal expandMembers As Boolean, _
ByVal name As String, _
ByVal memberOnly As Boolean _
)
[C#]
Variable variable,
bool expandMembers,
string name,
bool memberOnly
);
variable
Existing variable object of type structure
expandMembers
when set to true all members will be expanded.
name
Structure member name
memberOnly
Indicates wheter this is a PviServices variable member only or not. If memberOnly is set to true this object is only accessable through the variable but not through the Service collection.
Variable Class | BR.AN.PviServices Namespace | Variable Constructor Overload List
Generated from assembly BR.AN.PviServices [8.1.0.4]