KaxSiteMapNodeCollectionFindNodeByText Method (String, Boolean) |
Searches all nodes for a KaxSiteMapNode with a
Text property
equal to the specified text.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax public KaxSiteMapNode FindNodeByText(
string text,
bool ignoreCase
)
Public Function FindNodeByText (
text As String,
ignoreCase As Boolean
) As KaxSiteMapNode
public:
KaxSiteMapNode^ FindNodeByText(
String^ text,
bool ignoreCase
)
member FindNodeByText :
text : string *
ignoreCase : bool -> KaxSiteMapNode
Parameters
- text
- Type: SystemString
The text to search for - ignoreCase
- Type: SystemBoolean
A Boolean indicating a case-sensitive or insensitive comparison (true indicates a case-insensitive comparison).
Return Value
Type:
KaxSiteMapNodeA
KaxSiteMapNode whose
Text property equals to the specified argument
Null (Nothing) is returned when no matching node is found.
Remarks This method is not recursive.
See Also