RpcStructType Class
StructType which is callable by RPC Methods.
Inheritance Hierarchy
System.Object
TwinCAT.Ads.TypeSystem.DataType
TwinCAT.Ads.TypeSystem.StructType
TwinCAT.Ads.TypeSystem.RpcStructType
Namespace: TwinCAT.Ads.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 6.0.95+cf8c3f5
Syntax
C#
public sealed class RpcStructType : StructType,
IRpcStructType, IRpcCallableType, IStructType, IInterfaceType, IDataType,
IBitSize
The RpcStructType type exposes the following members.
Properties
|
Name |
Description |
---|---|---|
|
Gets all members (down the derivation hierarchy) (Inherited from StructType.) | |
|
Gets the attributes of the IDataType (Inherited from DataType.) | |
|
Gets the structs Base Type (Null if not derived). (Inherited from StructType.) | |
|
Gets the the Name of the Base class (if derived) (Inherited from StructType.) | |
|
Gets the size of the DataType in bits. (Inherited from DataType.) | |
|
Gets the (aligned) size of of the Type/Instance in Bytes (Inherited from DataType.) | |
|
Gets the Data Type category (Inherited from DataType.) | |
|
Gets the comment. (Inherited from DataType.) | |
|
Gets the full name of the IDataType (Namespace + Name) (Inherited from DataType.) | |
|
Gets a value indicating whether this instance has RPC Methods. (Overrides StructType.HasRpcMethods.) | |
|
Gets the ID of the DataType (Inherited from DataType.) | |
|
Gets the names of the interfaces, this IDataType implements. (Inherited from StructType.) | |
|
Gets the resolved interface types, this IDataType implments. (Inherited from StructType.) | |
|
Gets a value indicating whether this IDataType is a bit mapping Type (Inherited from DataType.) | |
|
Indicates that the Size of the Object is Byte aligned (BitSize % 8 == 0) (Inherited from DataType.) | |
|
Gets a value indicating whether this IDataType is a container type (Inherited from DataType.) | |
|
Gets a value indicating whether this instance is derived. (Inherited from StructType.) | |
|
Gets a value indicating whether this IDataType is a pointer type (Inherited from DataType.) | |
|
Gets a value indicating whether this IDataType is primitive (Inherited from DataType.) | |
|
Gets a value indicating whether this IDataType is a reference type (Inherited from DataType.) | |
|
Gets the corresponding .NET Type if attached. (Inherited from DataType.) | |
|
Gets a read only collection of the Members of the IStructType. (Inherited from StructType.) | |
|
Gets the name of the Data Type (without namespace) (Inherited from DataType.) | |
|
Gets the namespace string within the IDataType exists. (Inherited from DataType.) | |
|
Gets the Method descriptions for the IRpcCallableType | |
|
Gets the Size of the DataType in Bytes or bits. (Inherited from DataType.) |
Methods
|
Name |
Description |
---|---|---|
|
Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
|
Serves as the default hash function. (Inherited from Object.) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Returns a String that represents this instance. (Inherited from DataType.) |
Extension Methods
|
Name |
Description |
---|---|---|
|
Overloaded. Adds a member (Defined by FluentRpcStructTypeExtension.) | |
|
Overloaded. Adds a member to the StructType (Defined by FluentStructTypeExtension.) | |
|
Adds a RpcMethod. (Defined by FluentRpcStructTypeExtension.) |