Gets an object representing the field with the specified name for the specified target.
Namespace:
Novalys.VisualGuard.SecurityAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 3.2.912.1 (3.2.912.01)
Syntax
| C# |
|---|
public static Object GetField( Object target, string fieldName, Type targetType ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function GetField ( _ target As Object, _ fieldName As String, _ targetType As Type _ ) As Object |
Parameters
- target
- Type: System..::.Object
The object whose field will be returned
- fieldName
- Type: System..::.String
A string containing the name of the field in dotted-quad notation(e.g. fieldname.subfieldname.subfieldname).
- targetType
- Type: System..::.Type
the type for which the field is retrieved