Structure MyInformation <VBFixedString(4),System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr,SizeConst:=4)> Public ReturnStatus As String <VBFixedString(6),System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr,SizeConst:=6)> Public VariableA As String Public VariableB(3) As String * 6 Not sure how to declare End Structure
<vbfixedarray("Size")>
Public Class Form1 Public Structure ExampleStructure <vbfixedarray(10)> Public myArray() As String <vbfixedstring(20)> Public myString As String End Structure End Class
Dim NewExample As New ExampleStructure
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)