XmlSerializationBehaviorHasXmlClassData.SetBehavior Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- newBehavior
- XmlSerializationBehavior
- Attributes