.NETGURU
System.Reflection.PropertyInfo Class
Information   Base Types   Related Resources

Discovers the attributes of a property and provides access to property metadata.

  • Namespace: System.Reflection
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.0.3705
  • Assembly: mscorlib.dll

  • System.Reflection.MemberInfo
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (20)Discussions (184)MembersRotorChanges
    Articles

    Page: 1
    A Data Access Layer to Persist Business Objects Using Attributes and Reflection
    The Code Project
    Then I came up with the idea of creating classes that would say how they should be persisted in the database. I would use attributes to say what database table my object should be persisted to, as well as other attributes to say what are the properties that should be mapped to table columns. From now on to update my code after a change in the solution I would only change the business object class.
    A Simple Usage of Reflection
    DotNetJunkies
    Xico takes a quick look at what Reflection is all about and explains what it can do for you.
    Advanced Data Mapping in .NET
    DotNetJunkies
    In this article, Tin demonstrates 3 automated mechanisms for data mapping: mapping from Database table columns to object properties, mapping from HTML form fields to object properties, mapping from ASP.NET Web controls to object properties.
    An XML based dynamic runtime GUI generator
    The Code Project
    Generate controls, set property values, and wire up event handlers at runtime from an XML definition.
    Automated Generation of Table Columns, Class Properties, and Form Field Mapping with C# Reflection
    C#Today
    In this article, Tin Lam shows how to use reflection to help us with complex mappings. Reflection allows us to examine assemblies and types at runtime, and find out everything about that type. We will also see how to dynamically extract the type information, and then carry out automated mappings between database table columns, HTML form fields and class properties.
    Check Your Mobile Device Capabilities
    C# Corner
    This sample is a utility to determine the capabilities of a Mobile Device. The MobileCapabilities class available in the Mobile Internet Toolkit provides a list of useful information on the client device. You can use this class to determine whether the target client device supports certain functionality.
    Convert a Collection to a table.
    The Code Project
    A Collection to Table in one function.
    Convert a Collection to a table. (Not a tutorial)
    The Code Project
    A Collection to Table in one function.
    Creating and Using Attributes
    The Code Project
    In this article I hope to show you what attributes are, how to use existing attributes, and how to create your own attributes to use in your own projects.
    Creating and Using Attributes in your .NET application
    The Code Project
    In this article I hope to show you what attributes are, how to use existing attributes, and how to create your own attributes to use in your own projects.
    DebugWriter - A simple property value dumper
    The Code Project
    A simple class to help dump property values at design-time
    Declarative QueryString Parameter Binding
    The Code Project
    Describes using reflection to automatically populate member parameters from the Form and Querystring.
    Handy Type Editors. Universal Dropdown Editor
    The Code Project
    Implementing a universal dropdown type editor.
    How to handle events during a web service call ?
    The Code Project
    c#-class that allows to run web service asynchronous to handle events during them
    Implementing Object Undo and Redo capabilities in .NET
    The Code Project
    Implementing Object Undo and Redo capabilities in .NET
    Reflecting Data to .NET Classes: Part I - From HTML Forms
    C# Corner
    Reflection allows us to examine internal details of assemblies and classes at runtime (programmatically). Using reflection, you can find out everything about a class, as well as dynamic object creations and method invocations. As such, with the help of Reflection, we can carry out some automated data mappings. That means no more manual line-by-line mappings, taking a value from one place, and assign to another etc.
    Reflection in C#
    C# Help
    This article explains how to make use of System.Reflection class to extract each and every detail of any class in .Net Framework. The MemberInfo class available in System.Reflection namespace is an abstract class. It discovers the attributes of a member and provides access to the member metadata. We need to assign the details we need to query about a type viz. Constructors/Methods/Interfaces/Fields/Property etc. to the MemberInfo class local variable. For this, We can make use of the methods GetFields/GetMethods/GetInterfaces etc.
    Reflection in C#
    .NET Xtreme
    The ability to find out information about objects at run-time is called Reflection. In Reflection we can find out the object’s class, details of an object’s methods, and even create one dynamically at runtime. Reflection is a powerful mechanism with the System.Reflection namespace contains nearly forty classes and interface. The Type class is the root of all reflection operations and the Object that represents a type inside the system.
    Understanding User Controls - Part 2
    DotNetJunkies
    In last week's article, Doug showed you some of the basic principles of exposing properties and methods in user controls. He mentioned that you could work with properties and methods exposed in user controls that are not precompiled, but you must use reflection. In this article, Doug shows you how to use reflection to work with user controls that are Just-In-Time (JIT) compiled.
    XML Generator
    C# Corner
    XMLGenerator is a general class file which can generate XML for any object depending on property defined in that object. It is a demonstration of how to use Reflection.
    Ad


    Need Dot Net Interview Questions?
    Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
    .Net Projects
    Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
    Free .net Help
    Commission ExamGuru, Inc. and his team for your next bespoke software project
    FogBUGZ
    The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
    Awesome Tools
    If you don't know about these, you're missing out... IT Certification Questions
    IT Interview Questions
    Free Oracle 10g Training
    MCSE Boortcamp
    Cisco Study Guides
    Cheap Study Guides
    Exact Questions
    Dot Net Interview Questions
    Oracle OCP
    Cheap Travel
    Designer Perfumes - Wholesale Prices
    Free Programming Tutorials
     
    ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
     Copyright © ExamGuru, Inc. 2001-2006
    Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification