Decorator.RequiresHost Property
Gets the decorator and verifies whether the position between it and the shape requires a host shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property RequiresHost As Boolean
'Usage
Dim instance As Decorator
Dim value As Boolean
value = instance.RequiresHost
public abstract bool RequiresHost { get; }
public:
virtual property bool RequiresHost {
bool get () abstract;
}
public abstract function get RequiresHost () : boolean
Property Value
Type: System.Boolean
true if the shape requires a host shape; otherwise, false.
To create a host shape, see ConfigureHostShape.
.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.