ScoringParameter Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ScoringParameter(String, GeographyPoint) |
Initializes a new instance of the ScoringParameter class with the given name and GeographyPoint value. |
ScoringParameter(String, IEnumerable<String>) |
Initializes a new instance of the ScoringParameter class with the given name and string values. |
ScoringParameter(String, GeographyPoint)
- Source:
- ScoringParameter.cs
Initializes a new instance of the ScoringParameter class with the given name and GeographyPoint value.
public ScoringParameter (string name, Microsoft.Spatial.GeographyPoint value);
new Microsoft.Azure.Search.Models.ScoringParameter : string * Microsoft.Spatial.GeographyPoint -> Microsoft.Azure.Search.Models.ScoringParameter
Public Sub New (name As String, value As GeographyPoint)
Parameters
- name
- String
Name of the scoring parameter.
- value
- GeographyPoint
Value of the scoring parameter.
Applies to
ScoringParameter(String, IEnumerable<String>)
- Source:
- ScoringParameter.cs
Initializes a new instance of the ScoringParameter class with the given name and string values.
public ScoringParameter (string name, System.Collections.Generic.IEnumerable<string> values);
new Microsoft.Azure.Search.Models.ScoringParameter : string * seq<string> -> Microsoft.Azure.Search.Models.ScoringParameter
Public Sub New (name As String, values As IEnumerable(Of String))
Parameters
- name
- String
Name of the scoring parameter.
- values
- IEnumerable<String>
Values of the scoring parameter.
Applies to
Azure SDK for .NET