# tibemsQueueBrowser_GetMsgSelector

Function

## Purpose

Get the selector string for the browser.

## C Declaration

    tibems_status tibemsQueueBrowser_GetMsgSelector(
        tibemsQueueBrowser queueBrowser,
        const char** selector );

## COBOL Call

    CALL "tibemsQueueBrowser_GetMsgSelector"
         USING BY VALUE queueBrowser,
               BY REFERENCE selector,
               RETURNING tibems-status
    END-CALL.

Note: `queueBrowser` and `selector` have usage pointer.

## Parameters

Parameter | Description
--- | ---
`queueBrowser` | Get the selector from the queue of this browser.
`selector` | The function stores the selector string in this location.

## Remarks

When non-null, the browser presents only messages that match this selector; see `Message Selectors`.

When null, or the empty string, the browser views all messages in the queue.

Copyright © Cloud Software Group, Inc. All rights reserved.