Opc.Ua.XmlEncoder.WriteInt16 C# (CSharp) Method

WriteInt16() public method

Writes a short to the stream.
public WriteInt16 ( string fieldName, short value ) : void
fieldName string
value short
return void
        public void WriteInt16(string fieldName, short value)
        {            
            if (BeginField(fieldName, false, false))
            {
                m_writer.WriteValue(value);
                EndField(fieldName);
            }
        }