Compartilhar via


XmlSerializationDefinitionReferencesBehavior.SetBehavior Method

Sets Behavior.

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

Syntax

'Declaração
Public Shared Sub SetBehavior ( _
    element As XmlSerializationDefinition, _
    newBehavior As XmlSerializationBehavior _
)
public static void SetBehavior(
    XmlSerializationDefinition element,
    XmlSerializationBehavior newBehavior
)
public:
static void SetBehavior(
    XmlSerializationDefinition^ element, 
    XmlSerializationBehavior^ newBehavior
)
static member SetBehavior : 
        element:XmlSerializationDefinition * 
        newBehavior:XmlSerializationBehavior -> unit 
public static function SetBehavior(
    element : XmlSerializationDefinition, 
    newBehavior : XmlSerializationBehavior
)

Parameters

.NET Framework Security

See Also

Reference

XmlSerializationDefinitionReferencesBehavior Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace