IParentNodeQuerySelector Method |
Returns the first element that is a descendant of node that matches selectors.
Namespace: Aspose.Html.DomAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
SyntaxElement QuerySelector(
string selectors
)
Function QuerySelector (
selectors As String
) As Element
Element^ QuerySelector(
String^ selectors
)
abstract QuerySelector :
selectors : string -> Element
Parameters
- selectors
- Type: SystemString
The selectors.
Return Value
Type:
ElementReturns the first matched element.
See Also