DesignerHasDiagramSerializer.TryCreateInstance Method
Not Supported.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Overrides Function TryCreateInstance ( _
serializationContext As SerializationContext, _
reader As XmlReader, _
partition As Partition _
) As ModelElement
public override ModelElement TryCreateInstance(
SerializationContext serializationContext,
XmlReader reader,
Partition partition
)
public:
virtual ModelElement^ TryCreateInstance(
SerializationContext^ serializationContext,
XmlReader^ reader,
Partition^ partition
) override
abstract TryCreateInstance :
serializationContext:SerializationContext *
reader:XmlReader *
partition:Partition -> ModelElement
override TryCreateInstance :
serializationContext:SerializationContext *
reader:XmlReader *
partition:Partition -> ModelElement
public override function TryCreateInstance(
serializationContext : SerializationContext,
reader : XmlReader,
partition : Partition
) : ModelElement
Parameters
- serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContext
- reader
Type: System.Xml.XmlReader
- partition
Type: Microsoft.VisualStudio.Modeling.Partition
Return Value
Type: Microsoft.VisualStudio.Modeling.ModelElement
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.