다음을 통해 공유


PropertiesToReturn Property

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

Gets or sets the properties that should be returned from the inventory system.

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

Syntax

'Declaration
Public Property PropertiesToReturn As String
'Usage
Dim instance As InventoryOptions
Dim value As String

value = instance.PropertiesToReturn

instance.PropertiesToReturn = value
public string PropertiesToReturn { get; set; }
public:
property String^ PropertiesToReturn {
    String^ get ();
    void set (String^ value);
}
public function get PropertiesToReturn () : String
public function set PropertiesToReturn (value : String)

Property Value

Type: System..::.String
Inventory properties to return.

Remarks

The value for a property on the strongly typed object will be available only if the property has been specified in the PropertiesToReturn parameter in the call to the method that was used to obtain the collection. For example, if the PropertiesToReturn collection does not contain the Description property then an attempt to access the Description property on the InventoryCatalog object will throw an exception.

Permissions

See Also

Reference

InventoryOptions Class

InventoryOptions Members

Microsoft.CommerceServer.Inventory Namespace