SelectedShapesCollection.AnchorItem Property
Gets or sets the DiagramItem that serves as the anchor for extending the selection.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Public Property AnchorItem As DiagramItem
Get
Set
public DiagramItem AnchorItem { get; set; }
public:
property DiagramItem^ AnchorItem {
DiagramItem^ get ();
void set (DiagramItem^ value);
}
member AnchorItem : DiagramItem with get, set
function get AnchorItem () : DiagramItem
function set AnchorItem (value : DiagramItem)
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
.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.