Property/Methods Support in .NET CF

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
We have just started working on developing an enterprise application using
..NET CF.

We realized that there are certain properties that are not supported in .NET
CF. For instance, we need to use Hashtable but the "Item" property of that
is not supported in CF. How do we get the value corresponding to a key?

Similary, we found the same thing missing in ArrayList also.

Can someone point out to some documents/links where such differences are
listed out and how do we go about fixing these? Do we have to implement our
own data structures for these kind of things?

Thanks
Manoj
 
ManojM ha scritto:
Hi
We have just started working on developing an enterprise application using
.NET CF.

We realized that there are certain properties that are not supported in .NET
CF. For instance, we need to use Hashtable but the "Item" property of that
is not supported in CF. How do we get the value corresponding to a key?

Similary, we found the same thing missing in ArrayList also.

Hashtable and ArrayList works the same way on CF and the full Fw.

In C# you cannot use the indexer property.
Use instead the [index].

Just take a look to MSDN for furter details.

See you
 
Hi Manoj

Have a read of:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_evtuv/ht
ml/etconComparisonsWithNETFramework.asp

This links should give you a good overview of the core differences between
CFX and FX.

Carlton

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: <ManojM>
| Subject: Property/Methods Support in .NET CF
| Date: Thu, 29 Apr 2004 17:48:47 +0530
| Lines: 18
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
| Message-ID: <#O3#[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: 203.145.165.42
| Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13
.phx.gbl
| Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.compactframework:52047
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Hi
| We have just started working on developing an enterprise application using
| .NET CF.
|
| We realized that there are certain properties that are not supported in
.NET
| CF. For instance, we need to use Hashtable but the "Item" property of that
| is not supported in CF. How do we get the value corresponding to a key?
|
| Similary, we found the same thing missing in ArrayList also.
|
| Can someone point out to some documents/links where such differences are
| listed out and how do we go about fixing these? Do we have to implement
our
| own data structures for these kind of things?
|
| Thanks
| Manoj
|
|
|
 
Back
Top