Partager via


CmdletExtensions.SafeCopyValue Method

Definition

Overloads

SafeCopyValue<T>(FieldInfo, T, T)
SafeCopyValue<T>(PropertyInfo, T, T)

SafeCopyValue<T>(FieldInfo, T, T)

public static void SafeCopyValue<T> (this System.Reflection.FieldInfo field, T source, T target);
static member SafeCopyValue : System.Reflection.FieldInfo * 'T * 'T -> unit
<Extension()>
Public Sub SafeCopyValue(Of T) (field As FieldInfo, source As T, target As T)

Type Parameters

T

Parameters

field
FieldInfo
source
T
target
T

Applies to

SafeCopyValue<T>(PropertyInfo, T, T)

public static void SafeCopyValue<T> (this System.Reflection.PropertyInfo property, T source, T target);
static member SafeCopyValue : System.Reflection.PropertyInfo * 'T * 'T -> unit
<Extension()>
Public Sub SafeCopyValue(Of T) (property As PropertyInfo, source As T, target As T)

Type Parameters

T

Parameters

property
PropertyInfo
source
T
target
T

Applies to