EditorHasXmlSerializationDefinition.SetXmlSerializationDefinition Method
Sets XmlSerializationDefinition.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Déclaration
Public Shared Sub SetXmlSerializationDefinition ( _
element As Editor, _
newXmlSerializationDefinition As XmlSerializationDefinition _
)
public static void SetXmlSerializationDefinition(
Editor element,
XmlSerializationDefinition newXmlSerializationDefinition
)
public:
static void SetXmlSerializationDefinition(
Editor^ element,
XmlSerializationDefinition^ newXmlSerializationDefinition
)
static member SetXmlSerializationDefinition :
element:Editor *
newXmlSerializationDefinition:XmlSerializationDefinition -> unit
public static function SetXmlSerializationDefinition(
element : Editor,
newXmlSerializationDefinition : XmlSerializationDefinition
)
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Editor
- newXmlSerializationDefinition
Type: Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationDefinition
.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.