共用方式為


DiagramKeyEventArgs.TargetItem Property

Gets or sets the DiagramItem that the key event is intended for.

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 TargetItem As DiagramItem
    Get
    Set
public DiagramItem TargetItem { get; set; }
public:
property DiagramItem^ TargetItem {
    DiagramItem^ get ();
    void set (DiagramItem^ value);
}
member TargetItem : DiagramItem with get, set
function get TargetItem () : DiagramItem
function set TargetItem (value : DiagramItem)

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem

.NET Framework Security

See Also

Reference

DiagramKeyEventArgs Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace