共用方式為


XmlSerializationBehaviorHasXmlClassData.SetBehavior Method

Definition

Sets Behavior.

public:
 static void SetBehavior(Microsoft::VisualStudio::Modeling::DslDefinition::XmlClassData ^ element, Microsoft::VisualStudio::Modeling::DslDefinition::XmlSerializationBehavior ^ newBehavior);
[System.Diagnostics.DebuggerStepThrough]
public static void SetBehavior (Microsoft.VisualStudio.Modeling.DslDefinition.XmlClassData element, Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationBehavior newBehavior);
[<System.Diagnostics.DebuggerStepThrough>]
static member SetBehavior : Microsoft.VisualStudio.Modeling.DslDefinition.XmlClassData * Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationBehavior -> unit
Public Shared Sub SetBehavior (element As XmlClassData, newBehavior As XmlSerializationBehavior)

Parameters

element
XmlClassData
Attributes

Applies to