|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesFile > ESRI.ArcGIS.DataSourcesFile > Interfaces > IS > ISMFlagCreator2 Interface > ISMFlagCreator2.CreateFlagDirectionAdv Method (ArcObjects .NET 10.5 SDK) | 
Creates the route flag using its geographic location, required direction and latency.
[Visual Basic .NET] Public Function CreateFlagDirectionAdv ( _ ByVal pPoint As SMRouterPoint, _ ByVal dOrientation As Double, _ ByVal dTolerance As Double, _ ByVal dSpeed As Double, _ ByVal dLatency As Double, _ ByRef pdAdjustedOrientation As Double _ ) As SMFlag
[C#] public SMFlag CreateFlagDirectionAdv ( SMRouterPoint pPoint, double dOrientation, double dTolerance, double dSpeed, double dLatency, ref double pdAdjustedOrientation );
[C++]
HRESULT CreateFlagDirectionAdv(
  ISMRouterPoint* pPoint,
  double dOrientation,
  double dTolerance,
  double dSpeed,
  double dLatency,
  double* pdAdjustedOrientation,
  ISMFlag** ppFlag
);
[C++]
Parameters pPoint [in]
pPoint is a parameter of type ISMRouterPoint dOrientation [in] dOrientation is a parameter of type double dTolerance [in] dTolerance is a parameter of type double dSpeed [in] dSpeed is a parameter of type double dLatency [in] dLatency is a parameter of type double pdAdjustedOrientation [out] pdAdjustedOrientation is a parameter of type double ppFlag [out, retval]
ppFlag is a parameter of type ISMFlag