Click or drag to resize
Json.NET

JPropertyDescriptor Class

 
Represents a view of a JProperty.
Inheritance Hierarchy

Namespace:  Newtonsoft.Json.Linq
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public class JPropertyDescriptor : PropertyDescriptor

The JPropertyDescriptor type exposes the following members.

Constructors
  NameDescription
Public methodJPropertyDescriptor
Initializes a new instance of the JPropertyDescriptor class.
Top
Properties
  NameDescription
Protected propertyAttributeArray
Gets or sets an array of attributes.
(Inherited from MemberDescriptor.)
Public propertyAttributes
Gets the collection of attributes for this member.
(Inherited from MemberDescriptor.)
Public propertyCategory
Gets the name of the category to which the member belongs, as specified in the CategoryAttribute.
(Inherited from MemberDescriptor.)
Public propertyComponentType
When overridden in a derived class, gets the type of the component this property is bound to.
(Overrides PropertyDescriptorComponentType.)
Public propertyConverter
Gets the type converter for this property.
(Inherited from PropertyDescriptor.)
Public propertyDescription
Gets the description of the member, as specified in the DescriptionAttribute.
(Inherited from MemberDescriptor.)
Public propertyDesignTimeOnly
Gets whether this member should be set only at design time, as specified in the DesignOnlyAttribute.
(Inherited from MemberDescriptor.)
Public propertyDisplayName
Gets the name that can be displayed in a window, such as a Properties window.
(Inherited from MemberDescriptor.)
Public propertyIsBrowsable
Gets a value indicating whether the member is browsable, as specified in the BrowsableAttribute.
(Inherited from MemberDescriptor.)
Public propertyIsLocalizable
Gets a value indicating whether this property should be localized, as specified in the LocalizableAttribute.
(Inherited from PropertyDescriptor.)
Public propertyIsReadOnly
When overridden in a derived class, gets a value indicating whether this property is read-only.
(Overrides PropertyDescriptorIsReadOnly.)
Public propertyName
Gets the name of the member.
(Inherited from MemberDescriptor.)
Protected propertyNameHashCode
Gets the hash code for the name of the member.
(Overrides MemberDescriptorNameHashCode.)
Public propertyPropertyType
When overridden in a derived class, gets the type of the property.
(Overrides PropertyDescriptorPropertyType.)
Public propertySerializationVisibility
Gets a value indicating whether this property should be serialized, as specified in the DesignerSerializationVisibilityAttribute.
(Inherited from PropertyDescriptor.)
Public propertySupportsChangeEvents
Gets a value indicating whether value change notifications for this property may originate from outside the property descriptor.
(Inherited from PropertyDescriptor.)
Top
Methods
  NameDescription
Public methodAddValueChanged
Enables other objects to be notified when this property changes.
(Inherited from PropertyDescriptor.)
Public methodCanResetValue
When overridden in a derived class, returns whether resetting an object changes its value.
(Overrides PropertyDescriptorCanResetValue(Object).)
Protected methodCreateAttributeCollection
Creates a collection of attributes using the array of attributes passed to the constructor.
(Inherited from MemberDescriptor.)
Protected methodCreateInstance
Creates an instance of the specified type.
(Inherited from PropertyDescriptor.)
Public methodEquals
Compares this to another object to see if they are equivalent.
(Inherited from PropertyDescriptor.)
Protected methodFillAttributes
Adds the attributes of the PropertyDescriptor to the specified list of attributes in the parent class.
(Inherited from PropertyDescriptor.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetChildProperties
Returns the default PropertyDescriptorCollection.
(Inherited from PropertyDescriptor.)
Public methodGetChildProperties(Attribute)
Returns a PropertyDescriptorCollection using a specified array of attributes as a filter.
(Inherited from PropertyDescriptor.)
Public methodGetChildProperties(Object)
Returns a PropertyDescriptorCollection for a given object.
(Inherited from PropertyDescriptor.)
Public methodGetChildProperties(Object, Attribute)
Returns a PropertyDescriptorCollection for a given object using a specified array of attributes as a filter.
(Inherited from PropertyDescriptor.)
Public methodGetEditor
Gets an editor of the specified type.
(Inherited from PropertyDescriptor.)
Public methodGetHashCode
Returns the hash code for this object.
(Inherited from PropertyDescriptor.)
Protected methodGetInvocationTarget
This method returns the object that should be used during invocation of members.
(Inherited from PropertyDescriptor.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodGetTypeFromName
Returns a type using its name.
(Inherited from PropertyDescriptor.)
Public methodGetValue
When overridden in a derived class, gets the current value of the property on a component.
(Overrides PropertyDescriptorGetValue(Object).)
Protected methodGetValueChangedHandler
Retrieves the current set of ValueChanged event handlers for a specific component
(Inherited from PropertyDescriptor.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnValueChanged
Raises the ValueChanged event that you implemented.
(Inherited from PropertyDescriptor.)
Public methodRemoveValueChanged
Enables other objects to be notified when this property changes.
(Inherited from PropertyDescriptor.)
Public methodResetValue
When overridden in a derived class, resets the value for this property of the component to the default value.
(Overrides PropertyDescriptorResetValue(Object).)
Public methodSetValue
When overridden in a derived class, sets the value of the component to a different value.
(Overrides PropertyDescriptorSetValue(Object, Object).)
Public methodShouldSerializeValue
When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
(Overrides PropertyDescriptorShouldSerializeValue(Object).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also