'System.ComponentModel.TypeConverter' is not an attribute class
- From: Jerod Houghtelling <houghtelling@xxxxxxxxx>
- Date: Thu, 21 Feb 2008 18:17:09 -0800 (PST)
Ok, I thought that TypeConverter was an attribute class? I've even
seen examples of it used on this compact
framework forum. Could somebody please tell me what I'm missing?
The error I get when I try to compile is,
"'System.ComponentModel.TypeConverter' is not an attribute class".
Intellisense doesn't show the TypeConverter when I try to add it by
using System.ComponentModel.TypeConverter. I'm using CF 2.0 SP 2 and
coding with Visual Studio 2008.
using System.ComponentModel;
namespace ComputersUnlimited.BusinessObjects.Core.DomainValues
{
[TypeConverter( typeof( DomainValueConverter<string,
StringDomainValue> ) )]
public struct StringDomainValue
{
private string mValue;
public StringDomainValue( string value )
{
mValue = value;
}
public string Value
{
get
{
return Value;
}
}
}
internal class DomainValueConverter<TInput, TOutput> : TypeConverter
{
/* Standard Stuff Here */
}
}
Any help would be appriciated!, Thanks
Jerod.
.
- Prev by Date: Re: CAB install project for both PPC2003 and WM5
- Next by Date: Connect to SQL Server Mobile Edition via VS2005 (Data Provider)
- Previous by thread: CAB install project for both PPC2003 and WM5
- Next by thread: Connect to SQL Server Mobile Edition via VS2005 (Data Provider)
- Index(es):