Class UntypedResource
Represents resource content that could not be deserialized into a corresponding strongly-typed resource class. This is just a container of arbitrary xml content.
Inheritance
System.Object
UntypedResource
Implements
System.ICloneable
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
Assembly: OSGeo.MapGuide.ObjectModels.dll
Syntax
public class UntypedResource : IResource, IVersionedEntity, ICloneable, INotifyPropertyChanged
Properties
| Improve this Doc View SourceIsStronglyTyped
Gets whether this resource is strongly typed
Declaration
public bool IsStronglyTyped { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
ResourceID
Gets or sets the resource id
Declaration
public string ResourceID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ResourceType
Gets the resource type
Declaration
public string ResourceType { get; }
Property Value
Type | Description |
---|---|
System.String |
ResourceVersion
Gets the resource version
Declaration
public Version ResourceVersion { get; }
Property Value
Type | Description |
---|---|
System.Version |
ValidatingSchema
Gets the validating XML schema
Declaration
public string ValidatingSchema { get; }
Property Value
Type | Description |
---|---|
System.String |
XmlContent
Gets or sets the XML content
Declaration
public string XmlContent { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceClone()
Returns a clone of this instance
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System.Object |
Serialize()
Gets the XML form of this instance
Declaration
public string Serialize()
Returns
Type | Description |
---|---|
System.String |
Events
| Improve this Doc View SourcePropertyChanged
Raised when a property changes
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ICloneable
System.ComponentModel.INotifyPropertyChanged