DomainClass 的 DecoratorHostShape 序列化程序 DecoratorHostShapeSerializer。
继承层次结构
System.Object
Microsoft.VisualStudio.Modeling.DomainClassXmlSerializer
Microsoft.VisualStudio.Modeling.Diagrams.PresentationElementSerializer
Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementSerializer
Microsoft.VisualStudio.Modeling.Diagrams.NodeShapeSerializer
Microsoft.VisualStudio.Modeling.Diagrams.DecoratorHostShapeSerializerBase
Microsoft.VisualStudio.Modeling.Diagrams.DecoratorHostShapeSerializer
Microsoft.VisualStudio.Modeling.Diagrams.MoveableDecoratorHostShapeSerializerBase
命名空间: Microsoft.VisualStudio.Modeling.Diagrams
程序集: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)
语法
声明
Public Class DecoratorHostShapeSerializer _
Inherits DecoratorHostShapeSerializerBase
public class DecoratorHostShapeSerializer : DecoratorHostShapeSerializerBase
DecoratorHostShapeSerializer 类型公开以下成员。
构造函数
页首
属性
页首
方法
.gif) |
CalculateQualifiedName |
此方法计算标记为特定 DecoratorHostShape 实例。 (继承自 DecoratorHostShapeSerializerBase。) |
.gif) |
CreateInstance |
此方法创建 DecoratorHostShape 实例根据读取器当前点的标记。读取器确保 (由调用方) 点。 DecoratorHostShape 序列化的实例。 (继承自 DecoratorHostShapeSerializerBase。) |
.gif) |
CreateMonikerInstance |
此方法创建 DecoratorHostShape 标记基于读取器当前点的标记。 (继承自 DecoratorHostShapeSerializerBase。) |
.gif) |
Equals |
确定指定的对象是否等于当前对象。 (继承自 Object。) |
.gif) |
Finalize |
允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。) |
.gif) |
GetHashCode |
用作特定类型的哈希函数。 (继承自 Object。) |
.gif) |
GetMonikerQualifier |
域类可以 monikerized 以不同的方式:标准 /qualifier/key 结构、自定义标记或组件 ID.使用标准 /qualifier/key 结构字段,则类序列化,此方法返回该标记限定符;如果字段类为 monikerization 使用其他方法,此方法返回空字符串。 (继承自 DecoratorHostShapeSerializerBase。) |
.gif) |
GetType |
获取当前实例的 Type。 (继承自 Object。) |
.gif) |
MemberwiseClone |
创建当前 Object 的浅表副本。 (继承自 Object。) |
.gif) |
Read |
没有序列化 DecoratorHostShape,因此,不能读取。 (重写 DecoratorHostShapeSerializerBase.Read(SerializationContext, ModelElement, XmlReader)。) |
.gif) |
ReadAdditionalElementData |
读取所有其他元素数据与组件关联 (继承自 DecoratorHostShapeSerializerBase。) |
.gif) |
ReadElements |
此方法将在内的嵌套的 XML 元素通过在元素。 (继承自 DecoratorHostShapeSerializerBase。) |
.gif) |
ReadPropertiesFromAttributes |
此方法将序列化为 XML 属性的所有属性。 (继承自 DecoratorHostShapeSerializerBase。) |
.gif) |
ReadRootElement |
可从 XML 的根模型元素。 (继承自 DomainClassXmlSerializer。) |
.gif) |
ReadShapeElementChildElements |
读取定义的子元素与 ShapeElement。 (继承自 ShapeElementSerializer。) |
.gif) |
Reset |
重置序列化程序 (继承自 DecoratorHostShapeSerializerBase。) |
.gif) |
ToString |
返回表示当前对象的字符串。 (继承自 Object。) |
.gif) |
TryCreateInstance |
此方法创建 DecoratorHostShape 正确的实例根据读取器当前点的标记。如果读取器定位在序列化 DecoratorHostShape,新 DecoratorHostShape 实例在特定分区,将会创建否则返回 null。 (继承自 DecoratorHostShapeSerializerBase。) |
.gif) |
TryCreateMonikerInstance |
此方法创建 DecoratorHostShape 正确的派生 (包括 DecoratorHostShape) 实例的标记基于读取器当前点的标记。 (继承自 DecoratorHostShapeSerializerBase。) |
.gif) |
Write(SerializationContext, ModelElement, XmlWriter) |
序列化模型元素实例与此序列化程序实例转换为 XML。 (继承自 DomainClassXmlSerializer。) |
.gif) |
Write(SerializationContext, ModelElement, XmlWriter, RootElementSettings) |
没有序列化 DecoratorHostShape。 (重写 DecoratorHostShapeSerializerBase.Write(SerializationContext, ModelElement, XmlWriter, RootElementSettings)。) |
.gif) |
WriteAdditionalElementData |
所有其他元素数据与组件关联的写入 (继承自 DecoratorHostShapeSerializerBase。) |
.gif) |
WriteElements |
此方法序列化 1) 为嵌套的 XML 元素序列化的属性和 2) 子模型元素转换为 XML。 (继承自 DecoratorHostShapeSerializerBase。) |
.gif) |
WriteMoniker |
公共 WriteMoniker() 方法编写 monikerized DecoratorHostShape 实例转换为 XML。 (继承自 DecoratorHostShapeSerializerBase。) |
.gif) |
WritePropertiesAsAttributes |
编写需要序列化为 XML 属性的所有属性。 (继承自 DecoratorHostShapeSerializerBase。) |
.gif) |
WriteRootElement |
序列化根模型元素实例与此序列化程序实例转换为 XML。 (继承自 DomainClassXmlSerializer。) |
.gif) |
WriteShapeElementChildElements |
编写在 ShapeElement 定义的子元素。 (继承自 ShapeElementSerializer。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
请参见
参考
Microsoft.VisualStudio.Modeling.Diagrams 命名空间