Solved

OptionalField attribute for auto properties in c#

Posted on 2011-09-02
3
1,197 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
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cant save 3D 4 22
Printing 1 57
insert value of checklistbox checked 4 32
Changes to XXX.exe.config file are not retrieved on restart. 3 39
In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

791 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