If the layer does not support selection (see SupportsSelection, then this property will always return false.
A layer's selectability only affects interactive selecting features of a layer off a map view, it does not have any affect when Select or SetSelection methods are called.
Requirements
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)