NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PropertyInfo Class

The PropertyInfo class reflects a property.

Properties are logically the same as fields. A property is a named aspect of an object's state whose value is typically accessible through get and set-accessors. Properties may be read-only, in which case a set routine is not supported. Initializes an instance of the PropertyInfo class.

Object
   MemberInfo
      PropertyInfo

[Visual Basic]
MustInherit Public Class PropertyInfo
   Inherits MemberInfo
[C#]
public abstract class PropertyInfo : MemberInfo
[C++]
public __gc __abstract class PropertyInfo : public MemberInfo
[JScript]
public abstract class PropertyInfo extends MemberInfo

Remarks

Several methods in this class assume that the getter and setter methods of a property have certain formats. If the following format is not followed, the behavior of the GetValue and SetValue methods is undefined.

The signatures of the get and set methods must match the following convention:

PropertyGet

Requirements

Namespace: System.Reflection

Assembly: mscorlib.dll

See Also

PropertyInfo Members | System.Reflection Namespace