|
|
PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Find the parent element of the given type.
Namespace: Smartsite.Core
Assembly: Smartsite.Base (in Smartsite.Base.dll)
Syntax
| C# | |
|---|---|
public T GetParent<T>( bool throwError, find ) where T : | |
| Visual Basic (Declaration) | |
|---|---|
Public Function GetParent(Of T As ) ( _ throwError As , _ find As _ ) As T | |
Parameters
- throwError
- Boolean
if set to true an error is throw when the given parent is not found.
- find
- MatchXmlElement
The matching delegate to use.
Return Value
Object implementing the IXmlElement interface.
Type Parameters
- T
- Type
See Also
XmlElementBase Class
Smartsite.Core Namespace