Cocktail Help Reference
WithTargetGuard Method
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > INavigatorConfigurator Interface : WithTargetGuard Method



guard
The target guard.

Glossary Item Box

Configures the guard for the target type.

Syntax

Visual Basic (Declaration) 
Function WithTargetGuard( _
   ByVal guard As Func(Of Type,String,Task(Of Boolean)) _
) As INavigatorConfigurator
Visual Basic (Usage)Copy Code
Dim instance As INavigatorConfigurator
Dim guard As Func(Of Type,String,Task(Of Boolean))
Dim value As INavigatorConfigurator
 
value = instance.WithTargetGuard(guard)

Parameters

guard
The target guard.

Remarks

The target guard controls whether the target type is an authorized navigation target.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.