Opc.Ua.Client.DataDictionary.GetSchema C# (CSharp) Method

GetSchema() public method

Returns the schema for the specified type (returns the entire dictionary if null).
public GetSchema ( NodeId descriptionId ) : string
descriptionId NodeId
return string
        public string GetSchema(NodeId descriptionId)
        {
            ReferenceDescription description = null;

            if (descriptionId != null)
            {
                if (!m_datatypes.TryGetValue(descriptionId, out description))
                {
                    return null;
                }

                return m_validator.GetSchema(description.BrowseName.Name);
            }

            return m_validator.GetSchema(null);
        }
		#endregion