INames::GetSelector Method
Returns the selector of the name and selector pair at the index position.
HRESULT GetSelector (
long index,
BSTR* selector
);
Parameters
index
[in] Specifies the index position of the name and selector pair in the INames Interface object. This index is zero-based.selector
[out] Returns the selector.
Return Value
If the method succeeds, it returns S_OK. If the result is the empty string or NULL, it returns S_FALSE. Otherwise, it returns an error code.
Remarks
The selector in a name/selector pair corresponds to the separator that follows the name. For example, in myclass.m_variable, myclass is the name while the "." is the selector.