IStringMarshaler.Marshal Method (IStringType, String, Span.Byte.)
Marshals the specified string value.
Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
int Marshal(
IStringType type,
string value,
Span<byte> destination
)
Parameters
type |
Type: TwinCAT.TypeSystem.IStringType |
value |
Type: System.String |
destination |
Type: System.Span.Byte. |
Return Value
Type: Int32
The Number of marshalled bytes.