Freigeben über


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property RequiresHost As Boolean
    Get
public abstract bool RequiresHost { get; }
public:
virtual property bool RequiresHost {
    bool get () abstract;
}
abstract RequiresHost : bool
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

Microsoft.VisualStudio.Modeling.Diagrams Namespace