Click or drag to resize

CollectionExtended T FindParent Method (Type, Boolean)

Method used to find parent within a specific type.

Namespace: Spire.Xls.Core.Spreadsheet.Collections
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
protected Object FindParent(
	Type parentType,
	bool bCheckSubclasses
)

Parameters

parentType
Type: System Type
Parent type to search.
bCheckSubclasses
Type: System Boolean
Indicates whether to look into subclasses.

Return Value

Type: Object
Found parent if was parent was found or NULL otherwise.
Exceptions
Exception Condition
ArgumentException When there is cycle in object tree.
See Also