Class GroupList
Group list
Inheritance
System.Object
GroupList
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OSGeo.MapGuide.ObjectModels.Common
Assembly: OSGeo.MapGuide.ObjectModels.dll
Syntax
[Serializable]
public class GroupList : INotifyPropertyChanged
Properties
| Improve this Doc View SourceGroup
Declaration
public BindingList<GroupListGroup> Group { get; set; }
Property Value
Type | Description |
---|---|
System.ComponentModel.BindingList<GroupListGroup> |
Methods
| Improve this Doc View SourceClone()
Create a clone of this GroupList object
Declaration
public virtual GroupList Clone()
Returns
Type | Description |
---|---|
GroupList |
Deserialize(String)
Declaration
public static GroupList Deserialize(string xml)
Parameters
Type | Name | Description |
---|---|---|
System.String | xml |
Returns
Type | Description |
---|---|
GroupList |
Deserialize(String, out GroupList)
Declaration
public static bool Deserialize(string xml, out GroupList obj)
Parameters
Type | Name | Description |
---|---|---|
System.String | xml | |
GroupList | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Deserialize(String, out GroupList, out Exception)
Deserializes workflow markup into an GroupList object
Declaration
public static bool Deserialize(string xml, out GroupList obj, out Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.String | xml | string workflow markup to deserialize |
GroupList | obj | Output GroupList object |
System.Exception | exception | output Exception value if deserialize failed |
Returns
Type | Description |
---|---|
System.Boolean | true if this XmlSerializer can deserialize the object; otherwise, false |
LoadFromFile(String)
Declaration
public static GroupList LoadFromFile(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName |
Returns
Type | Description |
---|---|
GroupList |
LoadFromFile(String, out GroupList)
Declaration
public static bool LoadFromFile(string fileName, out GroupList obj)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | |
GroupList | obj |
Returns
Type | Description |
---|---|
System.Boolean |
LoadFromFile(String, out GroupList, out Exception)
Deserializes xml markup from file into an GroupList object
Declaration
public static bool LoadFromFile(string fileName, out GroupList obj, out Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | string xml file to load and deserialize |
GroupList | obj | Output GroupList object |
System.Exception | exception | output Exception value if deserialize failed |
Returns
Type | Description |
---|---|
System.Boolean | true if this XmlSerializer can deserialize the object; otherwise, false |
OnPropertyChanged(String)
Declaration
public virtual void OnPropertyChanged(string info)
Parameters
Type | Name | Description |
---|---|---|
System.String | info |
SaveToFile(String)
Declaration
public virtual void SaveToFile(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName |
SaveToFile(String, out Exception)
Serializes current GroupList object into file
Declaration
public virtual bool SaveToFile(string fileName, out Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | full path of outupt xml file |
System.Exception | exception | output Exception value if failed |
Returns
Type | Description |
---|---|
System.Boolean | true if can serialize and save into file; otherwise, false |
Serialize()
Serializes current GroupList object into an XML document
Declaration
public virtual string Serialize()
Returns
Type | Description |
---|---|
System.String | string XML value |
Events
| Improve this Doc View SourcePropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged