Provides the runtime type Reflection/Introspection API for the Vision type system.
Cognex.Vision ShareableBase
Cognex.Vision.Meta TypeMeta
Namespace: Cognex.Vision.Meta
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.25.1.0
The TypeMeta type exposes the following members.
| Name | Description | |
|---|---|---|
| TypeMeta | Constructs a new instance of this class. |
| Name | Description | |
|---|---|---|
| CanConvertPrimitive | Return true if it's "safe" to attempt a conversion between two primitive types. | |
| CanConvertType | Returns true if it's "safe" to attempt conversion between two types, one of which is not primitive. | |
| ConvertMemberMetaCollectionToPath(MemberMetaCollection) | Converts an ordered list of MethodMeta to a dotted string "property path". | |
| ConvertMemberMetaCollectionToPath(MemberMetaCollection, Object) | Converts an ordered list of MethodMeta to a dotted string "property path". | |
| ConvertPathToMemberMetaCollection | Converts a dotted string "property path" to an equivalent ordered list of MemberMeta instances. | |
| ConvertPrimitive | Attempt to convert value from sourceType to destinationType. | |
| ConvertValue | Attempt to convert value from sourceType to destinationType when the sourceType or destinationType is not primitive. | |
| Equals | Compares the equality of this object with another. (Overrides ShareableBase Equals(Object).) | |
| FormatNameForPath | Returns the name of this member formatted as a string for use within a Vision property path. | |
| GetBaseClass | Returns the concrete base class of this Type. | |
| GetDeclaringType | Returns nullptr as the Vision type system does not support nesting types. | |
| GetDerivedClasses | Returns a collection of the classes which have this class as a base class. | |
| GetEnumName | Returns the name of the constant that has the supplied value, for the current enumeration type. | |
| GetEnumNames | Returns the names of the members of the current enumeration type. | |
| GetEnumUnderlyingType | Returns the underlying type of the current enumeration type. | |
| GetEnumValues | Returns a collection of the values of the constants in the current enumeration type. | |
| GetFakeProperties | Return a collection of FakePropertyMeta instances that stand in for methods that behave much like observable properties. | |
| GetFakePropertyByName | Creates a FakePropertyMeta for a method given a properly formatted method name. | |
| GetHashCode | Serves as the default hash function. | |
| GetInterfaces | Gets a list of the Interfaces supported by this Type. | |
| GetMemberMetas(Object, TypeMeta) | Return all bindable property members given an object instance and its type. | |
| GetMemberMetas(Object, TypeMeta, Boolean) | Return all bindable property members given an object instance and its type. | |
| GetMethods | Gets a list of Methods available on this Type. | |
| GetProperties | Gets a list of Properties available on this Type. | |
| GetPropertyByName | Gets a PropertyMeta for the given property name. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetTypeImpl_ | COGNEX INTERNAL USE ONLY! | |
| GetTypeMeta | Get the TypeMeta that describes the type of this object. | |
| GetTypeMetaByName | Return a TypeMeta instance for the (fully namespace qualified) typeName. | |
| GetTypeMetaFromObject | Return the TypeMeta of the given object instance. | |
| GetTypeMetaFromPath | Convenience method to determine the type of the last node in a property path. | |
| GetTypeMetas | Return a list of all known Vision types. | |
| GetValue | Evaluates a property path and returns the value. | |
| IsAssignableFrom | Checks if this type can be assigned from sourceType based on the inheritance pattern. | |
| IsFormattedAsCast | Returns true if a string is formatted as a "cast" node in a property path. | |
| IsFormattedAsMethod | Returns true if a string is formatted as a Method or "FakeProperty" node in a property path. | |
| IsPrimitive | Return true if this TypeMeta describes a primitive type. | |
| IsValueType | Return true if this TypeMeta describes a value type. | |
| SetValue | Evaluates a property path and sets the value at the end of the expression. | |
| ToString | Returns a human readable string that represents the object. |
| Name | Description | |
|---|---|---|
| Equality | ||
| Inequality |
| Name | Description | |
|---|---|---|
| Handle | (Overrides ShareableBase Handle.) | |
| Id | Unique identifier for a TypeMeta instance. | |
| IsClass | Returns true if this is a TypeMeta representing a Class. | |
| IsConstructor | Returns true if this is a MethodMeta representing a Constructor. | |
| IsEnum | Returns true if this is a TypeMeta representing an Enum. | |
| IsFake | Returns true if this is a FakePropertyMeta representing a Method of a class that behaves like a property. | |
| IsInterface | Returns true if this is a TypeMeta representing an Interface. | |
| IsMethod | Returns true if this is a MethodMeta representing a Method. | |
| IsParameter | Returns true if this is a ParameterMeta representing a Parameter to a Method. | |
| IsProperty | Returns true if this is a PropertyMeta representing a Property. | |
| IsStatic | Returns true if this is a static Member. | |
| IsType | Returns true if this is a TypeMeta. | |
| Name | Returns the name of this member. |