OPC Studio User's Guide and Reference
VarType Class Members
Fields  Properties  Methods  Events


OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComInterop Namespace : VarType Class

The following tables list the members exposed by VarType.

Public Constructors
 NameDescription
Public ConstructorOverloaded. Initializes a new instance of the VarType class.  
Top
Public Fields
 NameDescription
Public FieldDefault VarType, represented as string. Corresponds to VarTypes.Empty.  
Public FieldEnumerated value of default VarType, which corresponds to VarTypes.Empty.  
Public FieldNumerical value of default VarType, which corresponds to VarTypes.Empty.  
Top
Public Properties
 NameDescription
Public PropertyThe enumerated value of the data type.  
Public PropertyGets a value indicating whether the VarType is an array.  
Public PropertyGets a value indicating whether the VarType can be an array element type.  
Public PropertyThe numerical (integer) value of the data type.  
Public PropertyA symbolic name of the current VarType if it has a standard name. Empty otherwise.  
Top
Public Methods
 NameDescription
Public MethodOverridden.   
Public MethodOverloaded. Overridden. Determines whether the specified object is equal to the current object.Determines whether the specified System.Object is equal to the current object.  
Public Methodstatic (Shared in Visual Basic)Converts a numerical VARTYPE to a VarType object.  
Public Methodstatic (Shared in Visual Basic)Determines a VarType for a given .NET type.  
Public Methodstatic (Shared in Visual Basic)Converts an enumerated value to a VarType object.  
Public MethodReturns the VarType of the elements encompassed by the current array.  
Public MethodOverridden. Serves as the default hash function. Serves as a hash function for a particular type.  
Public MethodOverridden.   
Public Method (Inherited from OpcLabs.BaseLib.Info)
Public MethodGets the System.Type of the current instance. (Inherited from object)
Public Methodstatic (Shared in Visual Basic)Determines whether the type value is in the valid range.  
Public MethodReturns a VarType object representing an array of the current type.  
Public Method (Inherited from OpcLabs.BaseLib.Info)
Public Methodstatic (Shared in Visual Basic)Converts VarType object to a numerical VARTYPE .  
Public MethodOverridden. Returns a string that represents the current object.Returns a string that represents the current object.Returns a System.String that represents the current VarType.  
Public Methodstatic (Shared in Visual Basic)Converts VarType object to an enumerated value.  
Public Method (Inherited from OpcLabs.BaseLib.Info)
Top
Protected Methods
 NameDescription
Protected MethodAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from object)
Protected MethodCreates a shallow copy of the current System.Object. (Inherited from object)
Protected MethodOverridden. Infrastructure. Infrastructure.  
Protected MethodOverridden. Infrastructure. Infrastructure.  
Top
Public Events
 NameDescription
Public EventHandler for System.ComponentModel.INotifyPropertyChanged.PropertyChanged.  
Public EventHandler for System.ComponentModel.INotifyPropertyChanging.PropertyChanging.  
Top
Public Operators
Determines whether the two objects are equal.
Overloaded. Converts VarType object to a numerical VARTYPE .
Determines whether the two objects are not equal.
Top
See Also

Reference

VarType Class
OpcLabs.BaseLib.ComInterop Namespace