Class ReflectionService

Provides methods to call the Methods of COM objects and to Get/Set Properties of COM objects through reflection.

System.Object
  SFQWrapper.ReflectionService
public static class ReflectionService : object

Class Members

MemberDescription

CallMethod

Invokes the specified method of the specified object.

public static object CallMethod(object toObject,     string tcMethod,     Object[] toParams);

GetProperty

Gets the value of the specified property of the specified object.

public static object GetProperty(object toObject,     string tcProperty);

SetProperty

Sets the value of the specified property of the specified object.

public static void SetProperty(object toObject,     string tcProperty,     object toParam);

Requirements

Namespace: SFQWrapper
Assembly: sfqwrapper.dll