Thursday, March 22, 2012

What is the C# equivalent of this?

What is the c# equiv of this?
<EditorAttribute("System.Web.UI.Design.UrlEditor, System.Design,
Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",
GetType(System.Drawing.Design.UITypeEditor))>
THanks in advance
AshokAshok, try:
[EditorAttribute("System.Web.UI.Design.UrlEditor, System.Design,
Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",
typeof(System.Drawing.Design.UITypeEditor))]
the only thing that changes is that c# uses [ ] for attributes (instead of
<> ) and typeof instead of gettype
Karl
MY ASP.Net tutorials
http://www.openmymind.net/
"Showjumper" <shojumper@.grkjashdjkf.com> wrote in message
news:eu9$dA3nEHA.3460@.tk2msftngp13.phx.gbl...
> What is the c# equiv of this?
> <EditorAttribute("System.Web.UI.Design.UrlEditor, System.Design,
> Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",
> GetType(System.Drawing.Design.UITypeEditor))>
>
> THanks in advance
> Ashok
>
>
Thanks Karl. BTW, nice job with the multilingual articles.
"Karl" <karl REMOVE @. REMOVE openmymind REMOVEMETOO . ANDME net> wrote in
message news:uglehc3nEHA.644@.tk2msftngp13.phx.gbl...
> Ashok, try:
> [EditorAttribute("System.Web.UI.Design.UrlEditor, System.Design,
> Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",
> typeof(System.Drawing.Design.UITypeEditor))]
> the only thing that changes is that c# uses [ ] for attributes (instead of
> <> ) and typeof instead of gettype
> Karl
> --
> MY ASP.Net tutorials
> http://www.openmymind.net/
>
> "Showjumper" <shojumper@.grkjashdjkf.com> wrote in message
> news:eu9$dA3nEHA.3460@.tk2msftngp13.phx.gbl...
>
>

0 comments:

Post a Comment