Solved

OptionalField attribute for auto properties in c#

Posted on 2011-09-02
3
1,204 Views
Last Modified: 2012-05-12
is there an attibute equivalent to OptionalField for auto properties, or do i have to implement regular properties in order to make them optional?
0
Comment
Question by:mmingfeilam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 36475801
What kind of serialization (e.g. Binary, SOAP, XML) are you doing?
0
 

Accepted Solution

by:
mmingfeilam earned 0 total points
ID: 36569590
just found out this is not possible.
0
 

Author Closing Comment

by:mmingfeilam
ID: 36594724
i just found out via MSDN that this is not possible.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
bound data table problem 2 40
C# Service FileSystemwatcher isse 9 46
pressing download button in c# 7 34
Web page design problem 3 15
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question