C# Класс Smartsheet.Api.Internal.SearchResourcesImpl

This is the implementation of the SearchResources. Thread Safety: This class is thread safe because it is immutable and its base class is thread safe.
Наследование: AbstractResources, SearchResources
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Search ( string query ) : Api.Models.SearchResult

Searches all Sheets that the User can access, for the specified text.

It mirrors To the following Smartsheet REST API method: GET /search

SearchResourcesImpl ( SmartsheetImpl smartsheet ) : System

Constructor. Exceptions: - IllegalArgumentException : if any argument is null

SearchSheet ( long sheetId, string query ) : Api.Models.SearchResult

Searches a Sheet for the specified text.

It mirrors To the following Smartsheet REST API method: GET /search/sheets/{sheetId}

Описание методов

Search() публичный Метод

Searches all Sheets that the User can access, for the specified text.

It mirrors To the following Smartsheet REST API method: GET /search

if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public Search ( string query ) : Api.Models.SearchResult
query string (required): Text with which to perform the search.
Результат Api.Models.SearchResult

SearchResourcesImpl() публичный Метод

Constructor. Exceptions: - IllegalArgumentException : if any argument is null
public SearchResourcesImpl ( SmartsheetImpl smartsheet ) : System
smartsheet SmartsheetImpl the Smartsheet
Результат System

SearchSheet() публичный Метод

Searches a Sheet for the specified text.

It mirrors To the following Smartsheet REST API method: GET /search/sheets/{sheetId}

if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public SearchSheet ( long sheetId, string query ) : Api.Models.SearchResult
sheetId long the sheet Id
query string the query Text
Результат Api.Models.SearchResult