[StructLayout(LayoutKind.Sequential)]
public class GuidClass
{
public Guid TheGuid;
}
Structure GuidClass
Public Guid TheGuid
End Structure
Instead of this, you could choose to define such a parameter as an array of System.Guids and only ever use the first element.