Share via


SpecificationSearchPropertyResult Constructor

Construct a SpecificationSearchPropertyResult with the specified property name and values.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Sub New ( _
    property As String, _
    values As Object() _
)
'Usage
Dim property As String
Dim values As Object()

Dim instance As New SpecificationSearchPropertyResult(property, _
    values)
public SpecificationSearchPropertyResult(
    string property,
    Object[] values
)
public:
SpecificationSearchPropertyResult(
    String^ property, 
    array<Object^>^ values
)
public function SpecificationSearchPropertyResult(
    property : String, 
    values : Object[]
)

Parameters

  • property
    Type: System..::.String
    Name of the property. May not be nullNothingnullptra null reference (Nothing in Visual Basic).
  • values
    Type: array<System..::.Object>[]()[]
    List of possible values. May not be nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

Throws a new ArgumentNullException if either argument value is nullNothingnullptra null reference (Nothing in Visual Basic).

The specification search API's return arrays of these as part of the specification search process. Each result object represents a property and all of the distinct values for that property.

Permissions

See Also

Reference

SpecificationSearchPropertyResult Class

SpecificationSearchPropertyResult Members

Microsoft.CommerceServer.Catalog Namespace