XmlSerializationDefinitionReferencesBehavior.SetXmlSerializationDefinition Method
Sets XmlSerializationDefinition.
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 Shared Sub SetXmlSerializationDefinition ( _
element As XmlSerializationBehavior, _
newXmlSerializationDefinition As XmlSerializationDefinition _
)
public static void SetXmlSerializationDefinition(
XmlSerializationBehavior element,
XmlSerializationDefinition newXmlSerializationDefinition
)
public:
static void SetXmlSerializationDefinition(
XmlSerializationBehavior^ element,
XmlSerializationDefinition^ newXmlSerializationDefinition
)
static member SetXmlSerializationDefinition :
element:XmlSerializationBehavior *
newXmlSerializationDefinition:XmlSerializationDefinition -> unit
public static function SetXmlSerializationDefinition(
element : XmlSerializationBehavior,
newXmlSerializationDefinition : XmlSerializationDefinition
)
Parameters
- 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.