KaxMenuItemCollectionFindItemByAttribute Method |
Searches the items in the collection for a
KaxMenuItem which contains the specified attribute and attribute value.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic KaxMenuItem FindItemByAttribute(
string attributeName,
string attributeValue
)
Public Function FindItemByAttribute (
attributeName As String,
attributeValue As String
) As KaxMenuItem
public:
KaxMenuItem^ FindItemByAttribute(
String^ attributeName,
String^ attributeValue
)
member FindItemByAttribute :
attributeName : string *
attributeValue : string -> KaxMenuItem
Parameters
- attributeName
- Type: SystemString
The name of the target attribute. - attributeValue
- Type: SystemString
The value of the target attribute
Return Value
Type:
KaxMenuItemThe
KaxMenuItem that matches the specified arguments. Null (Nothing) is returned if no node is found.
RemarksThis method is not recursive.
See Also