Class ResourceReferenceList
Inheritance
System.Object
ResourceReferenceList
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()
Assembly: OSGeo.MapGuide.ObjectModels.dll
Syntax
[Serializable]
public class ResourceReferenceList : INotifyPropertyChanged
Properties
|
Improve this Doc
View Source
ResourceId
Declaration
public BindingList<string> ResourceId { get; set; }
Property Value
Type |
Description |
System.ComponentModel.BindingList<System.String> |
|
Methods
|
Improve this Doc
View Source
Clone()
Create a clone of this ResourceReferenceList object
Declaration
public virtual ResourceReferenceList Clone()
Returns
|
Improve this Doc
View Source
Deserialize(String)
Declaration
public static ResourceReferenceList Deserialize(string xml)
Parameters
Type |
Name |
Description |
System.String |
xml |
|
Returns
|
Improve this Doc
View Source
Deserialize(String, out ResourceReferenceList)
Declaration
public static bool Deserialize(string xml, out ResourceReferenceList obj)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Deserialize(String, out ResourceReferenceList, out Exception)
Deserializes workflow markup into an ResourceReferenceList object
Declaration
public static bool Deserialize(string xml, out ResourceReferenceList obj, out Exception exception)
Parameters
Type |
Name |
Description |
System.String |
xml |
string workflow markup to deserialize
|
ResourceReferenceList |
obj |
Output ResourceReferenceList 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
|
|
Improve this Doc
View Source
LoadFromFile(String)
Declaration
public static ResourceReferenceList LoadFromFile(string fileName)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
Returns
|
Improve this Doc
View Source
LoadFromFile(String, out ResourceReferenceList)
Declaration
public static bool LoadFromFile(string fileName, out ResourceReferenceList obj)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LoadFromFile(String, out ResourceReferenceList, out Exception)
Deserializes xml markup from file into an ResourceReferenceList object
Declaration
public static bool LoadFromFile(string fileName, out ResourceReferenceList obj, out Exception exception)
Parameters
Type |
Name |
Description |
System.String |
fileName |
string xml file to load and deserialize
|
ResourceReferenceList |
obj |
Output ResourceReferenceList 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
|
|
Improve this Doc
View Source
OnPropertyChanged(String)
Declaration
public virtual void OnPropertyChanged(string info)
Parameters
Type |
Name |
Description |
System.String |
info |
|
|
Improve this Doc
View Source
SaveToFile(String)
Declaration
public virtual void SaveToFile(string fileName)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
|
Improve this Doc
View Source
SaveToFile(String, out Exception)
Serializes current ResourceReferenceList 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
|
|
Improve this Doc
View Source
Serialize()
Serializes current ResourceReferenceList object into an XML document
Declaration
public virtual string Serialize()
Returns
Type |
Description |
System.String |
string XML value
|
Events
|
Improve this Doc
View Source
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged