Beispiel #1
0
        private void AddKeyWordProperty(string name, string value)
        {
	        TextType paraType = new TextType(ContentType.WorkshareProperty);
	        _docText.AddTextType(paraType);

	        TextNode newNode = new TextNode();
	        newNode.AddParent(paraType);
	        paraType.AddChild(newNode);

	        newNode.AddInfo(new NodeInfo()
                {	
	                name = "Name",
	                type = DataType.String,
	                value = name
                });

            newNode.AddInfo(new NodeInfo()
                {
                    name = "Value",
                    type = DataType.String,
                    value = value
                });
        }