DslLibraryHasXmlSerializationBehavior.SetXmlSerializationBehavior Method
Sets XmlSerializationBehavior.
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 SetXmlSerializationBehavior ( _
element As DslLibrary, _
newXmlSerializationBehavior As XmlSerializationBehavior _
)
public static void SetXmlSerializationBehavior(
DslLibrary element,
XmlSerializationBehavior newXmlSerializationBehavior
)
public:
static void SetXmlSerializationBehavior(
DslLibrary^ element,
XmlSerializationBehavior^ newXmlSerializationBehavior
)
static member SetXmlSerializationBehavior :
element:DslLibrary *
newXmlSerializationBehavior:XmlSerializationBehavior -> unit
public static function SetXmlSerializationBehavior(
element : DslLibrary,
newXmlSerializationBehavior : XmlSerializationBehavior
)
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary
- newXmlSerializationBehavior
Type: Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationBehavior
.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.