Inheritance: IPnpObject
Exemple #1
0
            public DisplayItem(PnpObject container)
            {
                name = (string)container.Properties["System.ItemNameDisplay"];
                if (name == null || name.Length == 0)
                {
                    name = "*Unnamed*";
                }

                id = "Id: " + container.Id;
                properties += "Property store count is: " + container.Properties.Count + "\n";
                foreach (var prop in container.Properties)
                {
                    properties += prop.Key + " := " + prop.Value + "\n";
                }
            }