XlsObject
FindParent Method (Object, Type, Boolean)
|
This method is used to find parent with specific type.
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
protected static Object FindParent(
Object parentStart,
Type parentType,
bool bSubTypes
)
Protected Shared Function FindParent (
parentStart As Object,
parentType As Type,
bSubTypes As Boolean
) As Object
protected:
static Object^ FindParent(
Object^ parentStart,
Type^ parentType,
bool bSubTypes
)
static member FindParent :
parentStart : Object *
parentType : Type *
bSubTypes : bool -> Object
Parameters
-
parentStart
-
Type:
System
Object
Start object for search operation.
-
parentType
-
Type:
System
Type
Parent type to locate.
-
bSubTypes
-
Type:
System
Boolean
Indicates whether to search subtypes.
Return Value
Type:
Object
The found parent or NULL if parent was not found.
See Also