SIL.FieldWorks.XWorks.DTMenuHandler.ExtractInsertCommandInfo C# (CSharp) Method

ExtractInsertCommandInfo() static protected method

Get the class name and field for the given insertion command.
static protected ExtractInsertCommandInfo ( Command command, string &fieldName, string &className ) : void
command Command insertion command
fieldName string
className string
return void
		static protected void ExtractInsertCommandInfo(Command command, out string fieldName, out string className)
		{
			fieldName = null;
			className = null;
			XmlNode node = ExtractInsertCommandParameters(command);
			if (node == null)
				return;
			fieldName = XmlUtils.GetOptionalAttributeValue(node, "field");
			className = XmlUtils.GetOptionalAttributeValue(node, "className");
		}