AspNetEdit.Editor.UI.RootDesignerView.JSDeserializeAndAdd C# (CSharp) Метод

JSDeserializeAndAdd() приватный Метод

Name: DeserializeAndAdd Deserialises a fragment of ASP.NET code into a Gecko designer document fragment and adds the controls, directives etc to the host. Arguments: string designerDocumentFragment: the ASP.NET document fragment Returns: the deserialised document
private JSDeserializeAndAdd ( string args ) : string
args string
Результат string
        private string JSDeserializeAndAdd(string[] args)
        {
            if (args.Length != 1)
                throw new InvalidJSArgumentException ("DeserializeAndAdd", -1);

            return host.RootDocument.DeserializeAndAdd (args [0]);
        }