Compartilhar via


CodeDomDesignerData.CaretPosition Property

Gets or sets the recommended caret placement position for the member to which this object is attached.

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaração
Public Overridable Property CaretPosition As Point
public virtual Point CaretPosition { get; set; }

Property Value

Type: System.Drawing.Point
The recommended caret position.

Remarks

This method will return Empty if the recommended caret position is unknown.

.NET Framework Security

See Also

Reference

CodeDomDesignerData Class

Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom Namespace