Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the primary DiagramItem in 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
'Declaration
Public Property PrimaryItem As DiagramItem
public DiagramItem PrimaryItem { get; set; }
public:
property DiagramItem^ PrimaryItem {
DiagramItem^ get ();
void set (DiagramItem^ value);
}
member PrimaryItem : DiagramItem with get, set
function get PrimaryItem () : DiagramItem
function set PrimaryItem (value : DiagramItem)
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
Remarks
Setting the primary item in the selection does not set the focus. The focus must be set separately.
.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.