public Decimal Amount
{
  [return: MarshalAs(UnmanagedType.Currency)]
  get { ... }
  [param: MarshalAs(UnmanagedType.Currency)]
  set { ... }
}

-Adam

-----Original Message-----
From: Sills, Adam [mailto:[EMAIL PROTECTED]] 
Sent: Friday, April 12, 2002 11:58 AM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] VB6 -> .NET interop slow?

Okay I'm stuck.. How would I set a MarshalAs attribute on a set
property?

I've got it on the get property just fine, but how do I set what type to
marshal as in the set property?

Thanks

Adam..

-----Original Message-----
From: Sills, Adam [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 2:16 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] VB6 -> .NET interop slow?


Okay I'll try that. I just noticed, a few of the classes in question are
also MarshalByRefObjects, would that make any difference?

You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to