C# 클래스 MongoDB.Driver.Builders.GeoHaystackSearchOptions

A builder for the options of the GeoHaystackSearch command.
파일 보기 프로젝트 열기: CloudMetal/mongo-csharp-driver

공개 메소드들

메소드 설명
SetLimit ( int value ) : GeoHaystackSearchOptionsBuilder

Sets the maximum number of results to return.

SetMaxDistance ( double value ) : GeoHaystackSearchOptionsBuilder

Sets the max distance.

SetQuery ( string additionalFieldName, BsonValue value ) : GeoHaystackSearchOptionsBuilder

Sets the query on the optional additional field.

메소드 상세

SetLimit() 공개 정적인 메소드

Sets the maximum number of results to return.
public static SetLimit ( int value ) : GeoHaystackSearchOptionsBuilder
value int The maximum number of results to return.
리턴 GeoHaystackSearchOptionsBuilder

SetMaxDistance() 공개 정적인 메소드

Sets the max distance.
public static SetMaxDistance ( double value ) : GeoHaystackSearchOptionsBuilder
value double The max distance.
리턴 GeoHaystackSearchOptionsBuilder

SetQuery() 공개 정적인 메소드

Sets the query on the optional additional field.
public static SetQuery ( string additionalFieldName, BsonValue value ) : GeoHaystackSearchOptionsBuilder
additionalFieldName string The name of the additional field.
value BsonValue The value fo the additional field.
리턴 GeoHaystackSearchOptionsBuilder