Share via


XmlSerializationBehaviorHasXmlClassData.SetBehavior Method

Sets Behavior.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
Public Shared Sub SetBehavior ( _
    element As XmlClassData, _
    newBehavior As XmlSerializationBehavior _
)
public static void SetBehavior(
    XmlClassData element,
    XmlSerializationBehavior newBehavior
)
public:
static void SetBehavior(
    XmlClassData^ element, 
    XmlSerializationBehavior^ newBehavior
)
static member SetBehavior : 
        element:XmlClassData * 
        newBehavior:XmlSerializationBehavior -> unit
public static function SetBehavior(
    element : XmlClassData, 
    newBehavior : XmlSerializationBehavior
)

Parameters

.NET Framework Security

See Also

Reference

XmlSerializationBehaviorHasXmlClassData Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace