Class PropertyDefinition
Base class of all property definitions
Inheritance
System.Object
PropertyDefinition
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.MaestroAPI.Schema
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
public abstract class PropertyDefinition : SchemaElement, IFdoSerializable, IExpressionPropertySource
Properties
| Improve this Doc View SourceExpressionType
Gets the expression data type
Declaration
public abstract ExpressionDataType ExpressionType { get; }
Property Value
Type | Description |
---|---|
ExpressionDataType |
Parent
Gets the parent class definition
Declaration
public ClassDefinition Parent { get; }
Property Value
Type | Description |
---|---|
ClassDefinition |
Type
Gets the type of property
Declaration
public abstract PropertyDefinitionType Type { get; }
Property Value
Type | Description |
---|---|
PropertyDefinitionType |
Methods
| Improve this Doc View SourceClone(PropertyDefinition)
Creates a clone of the specified instance
Declaration
public static PropertyDefinition Clone(PropertyDefinition prop)
Parameters
Type | Name | Description |
---|---|---|
PropertyDefinition | prop | The instance to clone. |
Returns
Type | Description |
---|---|
PropertyDefinition |
Parse(XmlNode, XmlNamespaceManager)
Parses the specified XML node into a Property Definition
Declaration
public static PropertyDefinition Parse(XmlNode node, XmlNamespaceManager mgr)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlNode | node | |
System.Xml.XmlNamespaceManager | mgr |
Returns
Type | Description |
---|---|
PropertyDefinition |
ReadXml(XmlNode, XmlNamespaceManager)
Set the current element's content from the current XML node
Declaration
protected abstract void ReadXml(XmlNode node, XmlNamespaceManager mgr)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlNode | node | |
System.Xml.XmlNamespaceManager | mgr |
WriteXml(XmlDocument, XmlNode)
Writes the current element's content
Declaration
protected abstract void WriteXml(XmlDocument doc, XmlNode currentNode)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlDocument | doc | |
System.Xml.XmlNode | currentNode |
Explicit Interface Implementations
| Improve this Doc View SourceIFdoSerializable.ReadXml(XmlNode, XmlNamespaceManager)
Set the current element's content from the current XML node
Declaration
void IFdoSerializable.ReadXml(XmlNode node, XmlNamespaceManager mgr)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlNode | node | |
System.Xml.XmlNamespaceManager | mgr |
IFdoSerializable.WriteXml(XmlDocument, XmlNode)
Writes the current element's content
Declaration
void IFdoSerializable.WriteXml(XmlDocument doc, XmlNode currentNode)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlDocument | doc | |
System.Xml.XmlNode | currentNode |