Inheritance
System.Object
ResourceDocumentHeaderTypeMetadata
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
[Serializable]
public class ResourceDocumentHeaderTypeMetadata : INotifyPropertyChanged
Properties
|
Improve this Doc
View Source
Declaration
public ResourceDocumentHeaderTypeMetadataSimple Simple { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Applies the specified set of properties to this instance
Declaration
public void ApplyProperties(NameValueCollection values)
Parameters
Type |
Name |
Description |
System.Collections.Specialized.NameValueCollection |
values |
|
|
Improve this Doc
View Source
Create a clone of this ResourceDocumentHeaderTypeMetadata object
Declaration
public virtual ResourceDocumentHeaderTypeMetadata Clone()
Returns
|
Improve this Doc
View Source
Declaration
public static ResourceDocumentHeaderTypeMetadata Deserialize(string xml)
Parameters
Type |
Name |
Description |
System.String |
xml |
|
Returns
|
Improve this Doc
View Source
Declaration
public static bool Deserialize(string xml, out ResourceDocumentHeaderTypeMetadata obj)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Deserializes workflow markup into an ResourceDocumentHeaderTypeMetadata object
Declaration
public static bool Deserialize(string xml, out ResourceDocumentHeaderTypeMetadata obj, out Exception exception)
Parameters
Type |
Name |
Description |
System.String |
xml |
string workflow markup to deserialize
|
ResourceDocumentHeaderTypeMetadata |
obj |
Output ResourceDocumentHeaderTypeMetadata 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
Returns a System.Collections.Specialized.NameValueCollection of all the metadata properties
Declaration
public NameValueCollection GetProperties()
Returns
Type |
Description |
System.Collections.Specialized.NameValueCollection |
|
|
Improve this Doc
View Source
Declaration
public static ResourceDocumentHeaderTypeMetadata LoadFromFile(string fileName)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
Returns
|
Improve this Doc
View Source
Declaration
public static bool LoadFromFile(string fileName, out ResourceDocumentHeaderTypeMetadata obj)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Deserializes xml markup from file into an ResourceDocumentHeaderTypeMetadata object
Declaration
public static bool LoadFromFile(string fileName, out ResourceDocumentHeaderTypeMetadata obj, out Exception exception)
Parameters
Type |
Name |
Description |
System.String |
fileName |
string xml file to load and deserialize
|
ResourceDocumentHeaderTypeMetadata |
obj |
Output ResourceDocumentHeaderTypeMetadata 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
Declaration
public virtual void OnPropertyChanged(string info)
Parameters
Type |
Name |
Description |
System.String |
info |
|
|
Improve this Doc
View Source
Declaration
public virtual void SaveToFile(string fileName)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
|
Improve this Doc
View Source
Serializes current ResourceDocumentHeaderTypeMetadata 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
Serializes current ResourceDocumentHeaderTypeMetadata object into an XML document
Declaration
public virtual string Serialize()
Returns
Type |
Description |
System.String |
string XML value
|
|
Improve this Doc
View Source
Sets a metadata property.
Declaration
public void SetProperty(string name, string value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
value |
|
Events
|
Improve this Doc
View Source
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged