Share via


PropertiesToReturnArray Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets the list of properties that should be returned in a query result set as an array of property names.

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

Syntax

'Declaration
Public Property PropertiesToReturnArray As String()
'Usage
Dim instance As CommonSearchOptions
Dim value As String()

value = instance.PropertiesToReturnArray

instance.PropertiesToReturnArray = value
public string[] PropertiesToReturnArray { get; set; }
public:
property array<String^>^ PropertiesToReturnArray {
    array<String^>^ get ();
    void set (array<String^>^ value);
}
public function get PropertiesToReturnArray () : String[]
public function set PropertiesToReturnArray (value : String[])

Property Value

Type: array<System..::.String>[]()[]
A String array containing the properties to be returned.

Remarks

Returns a string array of properties where each element in the array is a valid property.

The default value of nullNothingnullptra null reference (Nothing in Visual Basic) indicates to return all properties.

The PropertiesToReturnArray is present for backward compatibility with BCLs. The differences between this property and PropertiesToReturn are PropertiesToReturn gets and sets a comma-delimited list of the same array as this property.

Permissions

See Also

Reference

CommonSearchOptions Class

CommonSearchOptions Members

Microsoft.CommerceServer.Catalog Namespace

PropertiesToReturn