Opc.Ua.XmlDecoder.ReadGuid C# (CSharp) 메소드

ReadGuid() 공개 메소드

Reads a GUID from the stream.
public ReadGuid ( string fieldName ) : Uuid
fieldName string
리턴 Uuid
        public Uuid ReadGuid(string fieldName)
        {
            Uuid value = new Uuid();

            if (BeginField(fieldName, true))
            {                
                PushNamespace(Namespaces.OpcUaXsd);
                value.GuidString = ReadString("String");
                PopNamespace();
                
                EndField(fieldName);
            }

            return value;
        }