Jaa


GetIfCollection Method

Converts values read from the Fields property into appropriate objects such as a SimpleList object or a Variant Array.

Namespace:  Microsoft.CommerceServer.Interop.Configuration
Assembly:  Microsoft.CommerceServer.Interop.Configuration.MSCSCfg (in Microsoft.CommerceServer.Interop.Configuration.MSCSCfg.dll)

Syntax

'Declaration
Function GetIfCollection ( _
    ByRef strList As Object _
) As Object
'Usage
Dim instance As IGlobalConfig
Dim strList As Object
Dim returnValue As Object

returnValue = instance.GetIfCollection(strList)
Object GetIfCollection(
    ref Object strList
)
Object^ GetIfCollection(
    Object^% strList
)
function GetIfCollection(
    strList : Object
) : Object

Parameters

  • strList
    Type: System..::.Object%
    The object that contains the encoded string to be converted.

Return Value

Type: System..::.Object
The Array or a Simplelist if found. If there is no collection, returns strList as a plain string.

Remarks

Implemented by GlobalConfigFreeThreaded.GetIfCollection (GetIfCollection).

If the encoding in the string contained in the Fields property indicates a SimpleList object, then a SimpleList object is returned. If the encoding indicates a System.Array, then a System.Array is returned. If no collection object is indicated, then the method returns the original encoded input string.

The Initialize method must be called before this method can be called.

Permissions

See Also

Reference

IGlobalConfig Interface

IGlobalConfig Members

Microsoft.CommerceServer.Interop.Configuration Namespace