FakePropertyMeta ClassCognex VisionPro 9.22

The FakePropertyMeta class is used to represent methods of a type that behave generally like properties. Exposing FakePropertyMeta for a method allows creating DataBindings/Links and PropertyWatchers that use these methods. This, in turn, allows creating ToolPins that expose paths which include these members for linking in the GUI.

Inheritance Hierarchy

System Object
  Cognex.Vision ShareableBase
    Cognex.Vision.Meta FakePropertyMeta

Namespace: Cognex.Vision.Meta
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.22.2.0
Syntax

public sealed class FakePropertyMeta : ShareableBase, 
	IPropertyMeta, IMemberMeta, IObject

The FakePropertyMeta type exposes the following members.

Constructors

  NameDescription
Public methodFakePropertyMeta(MethodMeta, MethodMeta)

Constructs a FakePropertyMeta instance.

Public methodFakePropertyMeta(MethodMeta, MethodMeta, Object, String)

Constructs a FakePropertyMeta instance.

Top
Methods

  NameDescription
Public methodEquals
Compares the equality of this object with another.
(Overrides ShareableBase Equals(Object).)
Public methodFormatNameForPath

Returns the name of this member formatted as a string for use within a Vision property path.

Public methodGetDeclaringType

Get a Meta instance describing the type which declares this member.

Public methodGetHashCode
Returns the hash code of this object.
(Overrides ShareableBase GetHashCode .)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeMeta

Get the TypeMeta that describes the type of this object.

(Overrides ShareableBase GetTypeMeta .)
Public methodGetValue

Returns the value of this property.

Public methodIsPropertyForIndexer

Returns true if this is a FakeProperty to expose an indexer for a collection's "Item" method.

Public methodIsPropertyForMethod

Return true if this is a FakeProperty for a "normal" method which is not an indexer for a collection's "Item" method.

Public methodSetValue

Sets the value of this property.

Public methodToString

Returns a human readable string that represents the object.

(Overrides Object ToString .)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Compares the equality of two FakePropertyMeta objects.
Public operatorStatic memberInequality
Compares the inequality of two FakePropertyMeta objects.
Top
Properties

  NameDescription
Public propertyHandle (Overrides ShareableBase Handle.)
Public propertyIsClass

Returns true if this is a TypeMeta representing a Class.

Public propertyIsConstructor

Returns true if this is a MethodMeta representing a Constructor.

Public propertyIsEnum

Returns true if this is a TypeMeta representing an Enum.

Public propertyIsFake

Returns true if this is a FakePropertyMeta representing a Method of a class that behaves like a property.

Public propertyIsInterface

Returns true if this is a TypeMeta representing an Interface.

Public propertyIsMethod

Returns true if this is a MethodMeta representing a Method.

Public propertyIsParameter

Returns true if this is a ParameterMeta representing a Parameter to a Method.

Public propertyIsProperty

Returns true if this is a PropertyMeta representing a Property.

Public propertyIsReadOnly

Returns true if the property is read only, otherwise false.

Public propertyIsStatic

Returns true if this is a static Member.

Public propertyIsType

Returns true if this is a TypeMeta.

Public propertyName

Returns the name of this member.

Public propertyPropertyType

Returns the static Type of this property.

Top
See Also