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

WriteEncodeable() public method

Writes an encodeable object to the stream.
public WriteEncodeable ( string fieldName, IEncodeable value, System systemType ) : void
fieldName string
value IEncodeable
systemType System
return void
        public void WriteEncodeable(string fieldName, IEncodeable value, System.Type systemType)
        {            
            if (BeginField(fieldName, value == null, true))
            {
                if (value != null)
                {
                    value.Encode(this);
                }

                EndField(fieldName);
            }
        }