Solved

OptionalField attribute for auto properties in c#

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Needing an event fired when a row is added on a datagridview 4 37
COnsume rest client 6 36
Get id from json Data with NewtonSoft 3 35
Web Form VB.Net  import CSV 4 27
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
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.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now