XmlSerializationDefinitionReferencesBehavior.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 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
- 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.