SSMapServicesReorderUserAgents Method
|
Reorders collection of User Agents based on provided sequence of names. The order of User Agents are important, since it will determine with User Agent branding gets evaluated and used first.
Namespace:
IngeniuxCMService
Assembly:
IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax public XHRServiceResponseGeneric<string[]> ReorderUserAgents(
string[] data
)
Public Function ReorderUserAgents (
data As String()
) As XHRServiceResponseGeneric(Of String())
public:
virtual XHRServiceResponseGeneric<array<String^>^>^ ReorderUserAgents(
array<String^>^ data
) sealed
abstract ReorderUserAgents :
data : string[] -> XHRServiceResponseGeneric<string[]>
override ReorderUserAgents :
data : string[] -> XHRServiceResponseGeneric<string[]>
Parameters
- data
- Type: SystemString
Array of names of User Agents, reflecting the updated order
Examples
Sample JSON input
{
"data": ["Chrome", "IE"]
}
Return Value
Type:
XHRServiceResponseGenericStringArray of User Agent names reflecting the updated order
Examples
Sample JSON return
{
"code": 0,
"error": null,
"message": ["Chrome", "IE"]
}
See Also