Summary description for Class1.
Westwind.wwReflection.Tools.wwUtils
public class wwUtils : object
Class Members
Member | Description | |
---|---|---|
Constructor |
||
MemberAccess |
Binding Flags constant to be reused for all Reflection access methods. | |
At |
Receives two strings as parameters and searches for one string within another. If found, returns the beginning numeric position otherwise returns 0
|
|
AtC |
Receives two strings as parameters and searches for one string within another. This function ignores the case and if found, returns the beginning numeric position otherwise returns 0
|
|
CallMethod |
Wrapper method to call a 'dynamic' (non-typelib) method on a COM object public static object CallMethod( object Object, |
|
CallMethodCom |
Wrapper method to call a 'dynamic' (non-typelib) method on a COM object public static object CallMethodCom( object Object, |
|
CreateInstanceFromType |
Creates an instance from a type by calling the parameterless constructor. public object CreateInstanceFromType( Type TypeToCreate ); |
|
GetField |
Retrieve a dynamic 'non-typelib' field public static object GetField( object Object, |
|
GetProperty |
Retrieve a dynamic 'non-typelib' property public static object GetProperty( object Object, |
|
GetPropertyCom |
Retrieve a dynamic 'non-typelib' property public static object GetPropertyCom( object Object, |
|
GetPropertyEx |
Returns a property or field value using a base object and sub members including . syntax. For example, you can access: this.oCustomer.oData.Company with (this,"oCustomer.oData.Company") public static object GetPropertyEx( object Parent, |
|
GetPropertyExCom |
Returns a property or field value using a base object and sub members including . syntax. For example, you can access: this.oCustomer.oData.Company with (this,"oCustomer.oData.Company") public static object GetPropertyExCom( object Parent, |
|
ProperCase |
Returns Proper case for a string public static string ProperCase( string Input ); |
|
SetField |
Sets the field on an object. public static void SetField( object Object, |
|
SetProperty |
Sets the property on an object. public static void SetProperty( object Object, |
|
SetPropertyCom |
Sets the property on an object. public static void SetPropertyCom( object Object, |
|
SetPropertyEx |
Sets the value of a field or property via Reflection. This method alws for using '.' syntax to specify objects multiple levels down. public static object SetPropertyEx( object Parent, |
|
SetPropertyExCom |
Sets the value of a field or property via Reflection. This method alws for using '.' syntax to specify objects multiple levels down. public static object SetPropertyExCom( object Parent, |
|
StrExtract |
Receives a string along with starting and ending delimiters and returns the part of the string between the delimiters. Receives a beginning occurence to begin the extraction from and also receives a flag (0/1) where 1 indicates that the search should be case insensitive.
|
|
StringToTypedValue |
Turns a string into a typed value. Useful for auto-conversion routines like form variable or XML parsers. public static object StringToTypedValue( string SourceString, public static object StringToTypedValue( string SourceString, |
|
StrTran |
Searches one string into another string and replaces all occurences with a blank character.
|
|
TypedValueToString |
Converts a type to string if possible. This method supports an optional culture generically on any value. It calls the ToString() method on common types and uses a type converter on all other objects if available public static string TypedValueToString( object RawValue, public static string TypedValueToString( object RawValue ); |
Requirements
Namespace: Westwind.wwReflection.ToolsAssembly: wwReflection.DLL
© West Wind Techologies, 1996-2023 • Updated: 07/31/07
Comment or report problem with topic