How Set sim band Network type to 3G(WCDMA) or 4G(LTE)

how to set or force the connection type to be wcdma or lte and thus access the system settings.

something like that:

//this typo can be GSM, WCDMA OR LTE

SetNetworktype(string type){
Networktype = type;
}