CogMethodDescriptor ClassCognex VisionPro 9.8 SR1
This class takes the place of a CogPropertyDescriptor when a descriptor returned from the GetProperties method is itself a method. It behaves like a CogPropertyDescriptor except that it operates on methods rather than properties.
Inheritance Hierarchy

System Object
  System.ComponentModel MemberDescriptor
    System.ComponentModel PropertyDescriptor
      Cognex.VisionPro.Implementation CogPropertyDescriptor
        Cognex.VisionPro.Implementation CogMethodDescriptor

Namespace: Cognex.VisionPro.Implementation
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 75.0.0.0 (75.0.0.0)
Syntax

public class CogMethodDescriptor : CogPropertyDescriptor

The CogMethodDescriptor type exposes the following members.

Constructors

  NameDescription
Public methodCogMethodDescriptor
Constructs a new instance of the CogMethodDescriptor class.
Top
Methods

  NameDescription
Public methodAddValueChanged (Inherited from CogPropertyDescriptor.)
Public methodCanResetValue (Inherited from CogPropertyDescriptor.)
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 attempt to free resources and perform other cleanup operations before the Object 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 (Inherited from CogPropertyDescriptor.)
Public methodGetGetterArguments
Get arguments passed to GetterMethodInfo when getting the descriptor's value.
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 methodGetSetterArguments
Get arguments passed to SetterMethodInfo when setting the descriptor's value.
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 (Overrides CogPropertyDescriptor GetValue(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 (Inherited from CogPropertyDescriptor.)
Public methodResetValue (Inherited from CogPropertyDescriptor.)
Public methodSetValue (Overrides CogPropertyDescriptor SetValue(Object, Object).)
Public methodShouldSerializeValue (Inherited from CogPropertyDescriptor.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties

  NameDescription
Protected propertyAttributeArray
Gets or sets an array of attributes.
(Inherited from MemberDescriptor.)
Public propertyAttributes (Inherited from CogPropertyDescriptor.)
Public propertyCategory
Gets the name of the category to which the member belongs, as specified in the CategoryAttribute.
(Inherited from MemberDescriptor.)
Public propertyComponentType (Inherited from CogPropertyDescriptor.)
Public propertyConverter (Inherited from CogPropertyDescriptor.)
Public propertyDescription (Inherited from CogPropertyDescriptor.)
Public propertyDesignTimeOnly
Gets whether this member should be set only at design time, as specified in the DesignOnlyAttribute.
(Inherited from MemberDescriptor.)
Public propertyDisplayName (Overrides MemberDescriptor DisplayName.)
Public propertyGetterMethodInfo
Get method used to get the descriptor's value.
Public propertyIsBrowsable (Inherited from CogPropertyDescriptor.)
Public propertyIsLocalizable
Gets a value indicating whether this property should be localized, as specified in the LocalizableAttribute.
(Inherited from PropertyDescriptor.)
Public propertyIsReadOnly (Overrides CogPropertyDescriptor IsReadOnly.)
Public propertyName (Overrides MemberDescriptor Name.)
Protected propertyNameHashCode
Gets the hash code for the name of the member, as specified in GetHashCode .
(Inherited from MemberDescriptor.)
Public propertyPasswordProtectedInGui (Inherited from CogPropertyDescriptor.)
Public propertyPropertyType (Overrides CogPropertyDescriptor PropertyType.)
Public propertySerializationVisibility
Gets a value indicating whether this property should be serialized, as specified in the DesignerSerializationVisibilityAttribute.
(Inherited from PropertyDescriptor.)
Public propertySetterMethodInfo
Get method used to set the descriptor's value.
Public propertySupportsChangeEvents
Gets a value indicating whether value change notifications for this property may originate from outside the property descriptor.
(Inherited from PropertyDescriptor.)
Top
See Also