Share via


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

See Also

Reference

Decorator Class

Decorator Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace