Share via


ObjectPath.ForEachProperty(Object, Action<String,Object>) Method

Definition

Apply an action to all properties in an object.

public static void ForEachProperty (object obj, Action<string,object> action);
static member ForEachProperty : obj * Action<string, obj> -> unit
Public Shared Sub ForEachProperty (obj As Object, action As Action(Of String, Object))

Parameters

obj
Object

Object to map against.

action
Action<String,Object>

Action to take.

Applies to