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
声明
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
- 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.