Tema: Re: Konvertuoti i is C# i VB
Autorius: zZz
Data: 2010-12-23 14:25:49
<StructLayout(LayoutKind.Sequential)> _
Public Structure SIMPHONEBOOKENTRY
    Public cbSize As UInt32
    Public dwParams As UInt32
    <MarshalAs(UnmanagedType.ByValTStr, SizeConst:=&H100)> _
    Public lpszAddress As String
    Public dwAddressType As UInt32
    Public dwNumPlan As UInt32
    <MarshalAs(UnmanagedType.ByValTStr, SizeConst:=&H100)> _
    Public lpszText As String
End Structure

"Valdas"  wrote in message news:iev0eq$647$1@trimpas.omnitel.net... 

sveiki, kaip konvertuoti sita koda is C# i VB:

[StructLayout(LayoutKind.Sequential)]
public struct SIMPHONEBOOKENTRY
{
public uint cbSize; //
public uint dwParams; //
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)]
public string lpszAddress; //
public uint dwAddressType; //
public uint dwNumPlan; //
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)]
public string lpszText; //
}

aciu