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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property RequiresHost As Boolean
public abstract bool RequiresHost { get; }
public:
virtual property bool RequiresHost {
bool get () abstract;
}
abstract RequiresHost : bool with get
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.