ExemptUserAgentCollection.Add(String) ExemptUserAgentCollection.Add(String) ExemptUserAgentCollection.Add(String) Method

Definition

Adds an ExemptUserAgent object to the ExemptUserAgentCollection collection.

public:
 void Add(System::String ^ partialExemptUserAgent);
public void Add (string partialExemptUserAgent);
Public Sub Add (partialExemptUserAgent As String)
Parameters
partialExemptUserAgent
String String String

A string representing the user agent to receive InfoPath files instead of a Web page.

Remarks

Add a user agent to the collection in order to allow the associated search bot to index InfoPath files on the server. This method can accept an ExemptUserAgent object or a string for a partial match.

Applies to