XmlSerializationBehaviorHasXmlClassData.SetBehavior Method
Sets Behavior.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.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
- newBehavior
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.