ExplorerReferencesBehavior.SetBehavior Method
Sets Behavior.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
Public Shared Sub SetBehavior ( _
element As Explorer, _
newBehavior As ExplorerBehavior _
)
public static void SetBehavior(
Explorer element,
ExplorerBehavior newBehavior
)
public:
static void SetBehavior(
Explorer^ element,
ExplorerBehavior^ newBehavior
)
static member SetBehavior :
element:Explorer *
newBehavior:ExplorerBehavior -> unit
public static function SetBehavior(
element : Explorer,
newBehavior : ExplorerBehavior
)
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Explorer
- newBehavior
Type: Microsoft.VisualStudio.Modeling.DslDefinition.ExplorerBehavior
.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.