PrepAway - Latest Free Exam Questions & Answers

Which method should you use?

You create a Microsoft Windows SharePoint Services site.

You need to move a menu item to the top of the Quick Launch menu.

Which method should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
Protected Sub MoveLink(ByVal web As SPWeb, _
ByVal menu_item_id As Integer)
Dim nodes As SPNavigationNodeCollection = _
web.Navigation.QuickLaunch
nodes(menu_id).MoveToFirst(nodes)
End Sub

B.
Protected Sub MoveLink(ByVal web As SPWeb, _
ByVal menu_item_id As Integer)
Dim nodes As SPNavigationNodeCollection = _
web.Navigation.TopNavigationBar
nodes(menu_id).MoveToFirst(nodes)
End Sub

C.
Protected Sub MoveLink(ByVal web As SPWeb, _
ByVal menu_item_id As Integer)
Dim nodes As SPNavigationNodeCollection = _
web.Navigation.GlobalNodes
nodes(menu_id).M oveToFirst(nodes)
End Sub

D.
Protected Sub MoveLink(ByVal web As SPWeb, _
ByVal menu_item_id As Integer)
Dim nodes As SPNavigationNodeCollection = _
web.Navigation.QuickLaunch.Navigation.GlobalNodes
nodes(menu_id).MoveToFirst(nodes)
End Sub


Leave a Reply