This library can be used itself to load .NET and types, or you can use it as a helper with COM interop in which case you have to instantiate it as a COM object and call its methods directly rather than using the FoxPro helper class.
public class wwDotNetBridge : object
Member | Description | |
---|---|---|
Constructor | ||
AddArrayItem | Used to add an item to an array by indirection to work around VFP's inability to easily add array elements. public bool AddArrayItem( object baseObject,
string arrayObject, object item ); |
|
ConvertObjectToByteArray | Converts an object to a byte array public Byte[] ConvertObjectToByteArray( object val );
|
|
CreateArray | Creates an instance of an array and returns it as a ComArray instance. public ComArray CreateArray( string arrayTypeString );
|
|
CreateArrayOnInstance | Creates an array instance of a given type. public bool CreateArrayOnInstance( object BaseType,
string ArrayProperty, int Size ); |
|
CreateArrayOnInstanceWithObject | Creates a new array instance on a type of exactly 1 array item which is assigned the item parameter passed in. public bool CreateArrayOnInstanceWithObject( object BaseType,
string ArrayProperty, object item ); |
|
CreateAssemblyInstance | Creates a new instance from a file file based assembly refence. Requires full filename including extension and path. public object CreateAssemblyInstance( string AssemblyFileName,
string TypeName ); |
|
CreateAssemblyInstanceFromFile | Creates an instance from a file reference with a parameterless constructor public object CreateAssemblyInstanceFromFile( string AssemblyFileName,
string TypeName ); |
|
CreateAssemblyInstanceFromFile_OneParm | Creates an instance from a file reference with a 1 parameter constructor public object CreateAssemblyInstanceFromFile_OneParm( string AssemblyFileName,
string TypeName, object Parm1 ); |
|
CreateAssemblyInstanceFromFile_TwoParms | Creates an instance from a file reference with a two parameter constructor public object CreateAssemblyInstanceFromFile_TwoParms( string AssemblyFileName,
string TypeName, object Parm1, object Parm2 ); |
|
CreateAssemblyInstance_OneParm | Creates a new instance from a file file based assembly refence. Requires full filename including extension and path. public object CreateAssemblyInstance_OneParm( string AssemblyFileName,
string TypeName, object Parm1 ); |
|
CreateAssemblyInstance_TwoParms | Creates a new instance from a file file based assembly refence. Requires full filename including extension and path. public object CreateAssemblyInstance_TwoParms( string AssemblyFileName,
string TypeName, object Parm1, object Parm2 ); |
|
CreateInstance | Creates a type reference from a given type name if the assembly is already loaded. public object CreateInstance( string TypeName );
|
|
CreateInstance_OneParm | Creates a type reference from a given type name if the assembly is already loaded. public object CreateInstance_OneParm( string TypeName,
object Parm1 ); |
|
CreateInstance_ThreeParms | Creates a type reference from a given type name if the assembly is already loaded. public object CreateInstance_ThreeParms( string TypeName,
object Parm1, object Parm2, object Parm3 ); |
|
CreateInstance_TwoParms | Creates a type reference from a given type name if the assembly is already loaded. public object CreateInstance_TwoParms( string TypeName,
object Parm1, object Parm2 ); |
|
DataSetToXmlString | Returns an XML string from a .NET DataSet public string DataSetToXmlString( DataSet ds,
bool IncludeSchema ); |
|
GetArrayItem | Returns an individual Array Item by its index public object GetArrayItem( object baseObject,
string arrayName, int index ); |
|
GetEnumString | Returns the name of an enum field given an enum value passed. Pass in the name of the enum type public string GetEnumString( string EnumTypeName,
object Value ); |
|
GetGuid | public Guid GetGuid();
|
|
GetProperty | public object GetProperty( object Instance,
string Property ); |
|
GetPropertyEx | public object GetPropertyEx( object Instance,
string Property ); |
|
GetStaticProperty | Retrieves a value from a static property by specifying a type full name and property public object GetStaticProperty( string TypeName,
string Property ); |
|
GetValues | public string GetValues( string inputString,
decimal inputDecimal ); |
|
InvokeMethod | Invokes a method with no parameters public object InvokeMethod( object Instance,
string Method ); |
|
InvokeMethod_EightParms | public object InvokeMethod_EightParms( object Instance,
string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8 ); |
|
InvokeMethod_ElevenParms | public object InvokeMethod_ElevenParms( object Instance,
string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8, object Parm9, object Parm10, object Parm11 ); |
|
InvokeMethod_FiveParms | public object InvokeMethod_FiveParms( object Instance,
string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5 ); |
|
InvokeMethod_FourParms | public object InvokeMethod_FourParms( object Instance,
string Method, object Parm1, object Parm2, object Parm3, object Parm4 ); |
|
InvokeMethod_NineParms | public object InvokeMethod_NineParms( object Instance,
string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8, object Parm9 ); |
|
InvokeMethod_OneParm | Invokes a method with one parameter public object InvokeMethod_OneParm( object Instance,
string Method, object Parm1 ); |
|
InvokeMethod_ParameterArray | public object InvokeMethod_ParameterArray( object Instance,
string Method, object ParameterArray ); |
|
InvokeMethod_SevenParms | public object InvokeMethod_SevenParms( object Instance,
string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7 ); |
|
InvokeMethod_SixParms | public object InvokeMethod_SixParms( object Instance,
string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6 ); |
|
InvokeMethod_TenParms | public object InvokeMethod_TenParms( object Instance,
string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8, object Parm9, object Parm10 ); |
|
InvokeMethod_ThreeParms | public object InvokeMethod_ThreeParms( object Instance,
string Method, object Parm1, object Parm2, object Parm3 ); |
|
InvokeMethod_TwelveParms | public object InvokeMethod_TwelveParms( object Instance,
string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8, object Parm9, object Parm10, object Parm11, object Parm12 ); |
|
InvokeMethod_TwoParms | Invokes a method with two parameters public object InvokeMethod_TwoParms( object Instance,
string Method, object Parm1, object Parm2 ); |
|
InvokeStaticMethod | public object InvokeStaticMethod( string TypeName,
string Method ); |
|
InvokeStaticMethod_EightParms | public object InvokeStaticMethod_EightParms( string TypeName,
string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8 ); |
|
InvokeStaticMethod_FiveParms | public object InvokeStaticMethod_FiveParms( string TypeName,
string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5 ); |
|
InvokeStaticMethod_FourParms | public object InvokeStaticMethod_FourParms( string TypeName,
string Method, object Parm1, object Parm2, object Parm3, object Parm4 ); |
|
InvokeStaticMethod_NineParms | public object InvokeStaticMethod_NineParms( string TypeName,
string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8, object Parm9 ); |
|
InvokeStaticMethod_OneParm | public object InvokeStaticMethod_OneParm( string TypeName,
string Method, object Parm1 ); |
|
InvokeStaticMethod_SevenParms | public object InvokeStaticMethod_SevenParms( string TypeName,
string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7 ); |
|
InvokeStaticMethod_SixParms | public object InvokeStaticMethod_SixParms( string TypeName,
string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6 ); |
|
InvokeStaticMethod_TenParms | public object InvokeStaticMethod_TenParms( string TypeName,
string Method, object Parm1, object Parm2, object Parm3, object Parm4, object Parm5, object Parm6, object Parm7, object Parm8, object Parm9, object Parm10 ); |
|
InvokeStaticMethod_ThreeParms | public object InvokeStaticMethod_ThreeParms( string TypeName,
string Method, object Parm1, object Parm2, object Parm3 ); |
|
InvokeStaticMethod_TwoParms | public object InvokeStaticMethod_TwoParms( string TypeName,
string Method, object Parm1, object Parm2 ); |
|
LoadAssembly | Loads an assembly into the AppDomain by its fully qualified assembly name public bool LoadAssembly( string AssemblyName );
|
|
LoadAssemblyFrom | Loads an assembly into the AppDomain by a fully qualified assembly path public bool LoadAssemblyFrom( string AssemblyFileName );
|
|
RemoveArrayItem | Removes an item from a .NET array with indirection to work around VFP's inability to manipulate .NET array elements. public bool RemoveArrayItem( object baseObject,
string arrayObject, int Index ); |
|
SetGuid | public string SetGuid( Guid guid );
|
|
SetProperty | Sets a property of a .NET object with a value public void SetProperty( ref object Instance,
string Property, object Value ); |
|
SetPropertyEx | Sets a property of a .NET object with a value using extended syntax. public void SetPropertyEx( ref object Instance,
string Property, object Value ); |
|
SetStaticProperty | public bool SetStaticProperty( string TypeName,
string Property, object Value ); |
|
XmlStringToDataSet | Converts an Xml String created from a FoxPro Xml Adapter or CursorToXml into a DataSet if possible. public DataSet XmlStringToDataSet( string xml );
|
|
Error | ||
ErrorMessage | Returns error information if the call fails |