TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Giovanni
NA
1
0
NonSerialized property.
Jul 2 2009 6:15 AM
Hi all,
I'm coding a serializator using Reflection. Suppose I have the following simple class:
public class TestDataType
{
[NonSerialized]
private string _name;
public string Name { get { return _name; } set { _name = value; }
}
How do I programmatically check that the value of the property Name has not to be serialized? It seems that PropertyInfo doesn't contain that information. Notice that the field _name is private so I can't even obtain the FieldInfo.
Hope for help.
Greetings.
Reply
Answers (
0
)
int to int[]
handle error msg due back button in IE in only one page of my application