Write(String,Encoding) Method
- Last UpdatedApr 08, 2026
- 1 minute read
Writes the specified System.String value to the underlying PubSub message buffer using the specified encoding.
public PubSubMessageBuilder Write(
string value,
Encoding encoding
)
public:
PubSubMessageBuilder^ Write(
String^ value,
Encoding^ encoding
)
Parameters
- value
- The System.String value to write to the underlying PubSub message buffer.
- encoding
- The System.Text.Encoding to use when converting the System.String value in to bytes.