Parameters
- source
- A reference to the StatFunction whose property values will be copied to the current instance of the same-type statistical function.
The InitializeFromInstance method will only be called when child results are calculated.
When deriving from the StatFunction class, the InitializeFromInstance method should be overridden only if a property that affects the end result is added, in order to include the new property in the initializing process (e.g., the IncludeNullValues property of the CountFunction class). The property should be initialized using the value of the source statistical function received as a parameter after the base implementation has been called. In this case, the IsEquivalent and GetEquivalenceKey methods should also be overridden.
Target Platforms: Windows 11, Windows 10, Windows 7, 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