FakePropertyMeta Constructor (MethodMeta, MethodMeta, Object, String)Cognex VisionPro 9.23

Constructs a FakePropertyMeta instance.

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

public FakePropertyMeta(
	MethodMeta getterMethodMeta,
	MethodMeta setterMethodMeta,
	Object methodArg,
	string name
)

Parameters

getterMethodMeta
Type: Cognex.Vision.Meta MethodMeta
A MethodMeta to act as the property getter.
setterMethodMeta
Type: Cognex.Vision.Meta MethodMeta
A MethodMeta to act as the property setter. The setterMethodMeta can be null to create a read only FakePropertyMeta.
methodArg
Type: System Object
A string or integer to provide as first argument when invoking the setter and getter, usually an integer that acts like an "index"
name
Type: System String
The name of the property. It is optional.
See Also