Constructs a new instance of the CogMethodDescriptor class.
Namespace: Cognex.VisionPro.ImplementationAssembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 75.1.0.0 (75.1.0.0)
public CogMethodDescriptor(
string descriptorName,
MethodInfo getterMethodInfo,
Object[] getterArgs,
MethodInfo setterMethodInfo,
Object[] setterArgs,
Type componentType
)
public CogMethodDescriptor(
string descriptorName,
MethodInfo getterMethodInfo,
Object[] getterArgs,
MethodInfo setterMethodInfo,
Object[] setterArgs,
Type componentType
)
Public Sub New (
descriptorName As String,
getterMethodInfo As MethodInfo,
getterArgs As Object(),
setterMethodInfo As MethodInfo,
setterArgs As Object(),
componentType As Type
)
Public Sub New (
descriptorName As String,
getterMethodInfo As MethodInfo,
getterArgs As Object(),
setterMethodInfo As MethodInfo,
setterArgs As Object(),
componentType As Type
)
public:
CogMethodDescriptor(
String^ descriptorName,
MethodInfo^ getterMethodInfo,
array<Object^>^ getterArgs,
MethodInfo^ setterMethodInfo,
array<Object^>^ setterArgs,
Type^ componentType
)
public:
CogMethodDescriptor(
String^ descriptorName,
MethodInfo^ getterMethodInfo,
array<Object^>^ getterArgs,
MethodInfo^ setterMethodInfo,
array<Object^>^ setterArgs,
Type^ componentType
)
Parameters
- descriptorName
- Type: System String
Name of this instance.
- getterMethodInfo
- Type: System.Reflection MethodInfo
Method used to get the descriptor's value.
- getterArgs
- Type: System Object
Arguments passed to getterMethodInfo when getting the descriptor's value.
- setterMethodInfo
- Type: System.Reflection MethodInfo
Method used to set the descriptor's value.
- setterArgs
- Type: System Object
Arguments passed to setterMethodInfo when setting the descriptor's value.
- componentType
- Type: System Type
Type of component containing the method(s) to which this descriptor applies.