Xceed.Silverlight.Data.v2.0 Assembly > Xceed.Silverlight.Data.Stats Namespace > StatFunction Class : InitializeFromInstance Method |
'Declaration Protected Friend Overridable Sub InitializeFromInstance( _ ByVal source As StatFunction _ )
'Usage Dim instance As StatFunction Dim source As StatFunction instance.InitializeFromInstance(source)
protected internal virtual void InitializeFromInstance( StatFunction source )
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 7, Windows Vista, Windows XP SP3, Windows Server 2008 family