Version

ResetMatchingProperties<T> Method

Compares two instances and resets any properties in the target instance if they have the same value that is set on the source instance.
Syntax
'Declaration
 
Public Shared Sub ResetMatchingProperties(Of T As RichTextObjectBase)( _
   ByVal source As T, _
   ByVal target As T _
) 
public static void ResetMatchingProperties<T>( 
   T source,
   T target
)
where T: RichTextObjectBase

Parameters

source
The source instance for comparing property values. The source can be null
target
The target instance whose properties should be reset if they match the associated properties in the source. The target can be null.

Type Parameters

T
The type of which both the source and target, if non-null, must be instances.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also