RpcMethod Class
RPC Method Description
Inheritance Hierarchy
System.Object
TwinCAT.Ads.TypeSystem.RpcMethod
Namespace: TwinCAT.Ads.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 6.0.328+39e3229
Syntax
C#
public class RpcMethod : IRpcMethod
The RpcMethod type exposes the following members.
Constructors
|
Name |
Description |
---|---|---|
|
Initializes a new instance of the RpcMethod class. | |
|
Initializes a new instance of the RpcMethod class. | |
|
Initializes a new instance of the RpcMethod class. | |
|
RpcMethod(String, RpcMethodParameterCollection, IDataType, String) |
Initializes a new instance of the RpcMethod class. |
Properties
|
Name |
Description |
---|---|---|
|
Gets the Method comment. | |
|
Gets the In-Parameters of the IRpcMethod | |
|
Gets a value indicating whether this IRpcMethod has no return parameter | |
|
Gets the name of the method | |
|
Gets the Out-Parameters of the IRpcMethod | |
|
Gets all parameters (In, Out and ref parameters) of the . | |
|
Gets the size of the biggest element in bytes for Alignment | |
|
Gets the return type. | |
|
Gets the Byte size of the return type. | |
|
Gets the V-table index of the method. |
Methods
|
Name |
Description |
---|---|---|
|
Equals |
Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode |
Serves as the default hash function. (Inherited from Object.) |
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Returns a String that represents this instance. (Overrides Object.ToString..) |
Extension Methods
|
Name |
Description |
---|---|---|
|
Overloaded. Adds a parameter to the RpcMethod (Defined by FluentRpcMethodExtension.) | |
|
Overloaded. Adds a parameter to the RpcMethod (Defined by FluentRpcMethodExtension.) | |
|
Overloaded. Adds a parameter to the RpcMethod (Defined by FluentRpcMethodExtension.) | |
|
Sets the ReturnType of the RpcMethod. (Defined by FluentRpcMethodExtension.) |