Class UserList
User list
Inheritance
System.Object
UserList
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 UserList : INotifyPropertyChanged
Properties
| Improve this Doc View SourceItems
Declaration
public BindingList<object> Items { get; set; }
Property Value
Type | Description |
---|---|
System.ComponentModel.BindingList<System.Object> |
Methods
| Improve this Doc View SourceClone()
Create a clone of this UserList object
Declaration
public virtual UserList Clone()
Returns
Type | Description |
---|---|
UserList |
Deserialize(String)
Declaration
public static UserList Deserialize(string xml)
Parameters
Type | Name | Description |
---|---|---|
System.String | xml |
Returns
Type | Description |
---|---|
UserList |
Deserialize(String, out UserList)
Declaration
public static bool Deserialize(string xml, out UserList obj)
Parameters
Type | Name | Description |
---|---|---|
System.String | xml | |
UserList | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Deserialize(String, out UserList, out Exception)
Deserializes workflow markup into an UserList object
Declaration
public static bool Deserialize(string xml, out UserList obj, out Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.String | xml | string workflow markup to deserialize |
UserList | obj | Output UserList 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 UserList LoadFromFile(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName |
Returns
Type | Description |
---|---|
UserList |
LoadFromFile(String, out UserList)
Declaration
public static bool LoadFromFile(string fileName, out UserList obj)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | |
UserList | obj |
Returns
Type | Description |
---|---|
System.Boolean |
LoadFromFile(String, out UserList, out Exception)
Deserializes xml markup from file into an UserList object
Declaration
public static bool LoadFromFile(string fileName, out UserList obj, out Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | string xml file to load and deserialize |
UserList | obj | Output UserList 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 UserList 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 UserList 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