Return the members matching a sub-query.
Please cache results and check when the response is complete
Namespace:
IpernityNET.IpernityObjectsAssembly: IpernityNET (in IpernityNET.dll) Version: 0.3.1.0 (0.3.1.0)
Syntax
C# |
---|
public NetworkAutocompleteResult NetworkAutocomplete( string query, Relation relation ) |
Visual Basic (Declaration) |
---|
Public Function NetworkAutocomplete ( _ query As String, _ relation As Relation _ ) As NetworkAutocompleteResult |
Visual C++ |
---|
public: NetworkAutocompleteResult^ NetworkAutocomplete( String^ query, Relation relation ) |
Parameters
- query
- Type: System..::.String
Return the member usernames matching this query. The search is case insensitive.
- relation
- Type: IpernityNET..::.Relation
Only return the members matching the relation
Return Value
An NetworkAutocompleteResult object containing the users matching the queryRemarks
This method encapsulates network.autocomplete
"read" permission is necessary to access to network details.
Exceptions
Exception | Condition |
---|---|
IpernityNET..::.IpernityException | Throwed when Ipernity returned an error |
IpernityNET.IpernityObjects..::.ObjectNotConfiguredException | Throwed when an Ipernity object has not been configured. |