Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Public Function GetIfCollection ( _
ByRef strList As Object _
) As Object
'Usage
Dim instance As GlobalConfigFreeThreaded
Dim strList As Object
Dim returnValue As Object
returnValue = instance.GetIfCollection(strList)
public Object GetIfCollection(
ref Object strList
)
public:
virtual Object^ GetIfCollection(
Object^% strList
) sealed
public final 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.
Implements
IGlobalConfig..::.GetIfCollection(Object%)
Remarks
Implements IGlobalConfig.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.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
GlobalConfigFreeThreaded Class