共用方式為


RegionsChangedEventArgs.AffectedSpan Property

Gets the SnapshotSpan over which collapsible spans have changed.

Namespace:  Microsoft.VisualStudio.Text.Outlining
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'宣告
Public Property AffectedSpan As SnapshotSpan
public SnapshotSpan AffectedSpan { get; private set; }
public:
property SnapshotSpan AffectedSpan {
    SnapshotSpan get ();
    private: void set (SnapshotSpan value);
}
member AffectedSpan : SnapshotSpan with get, private set
function get AffectedSpan () : SnapshotSpan
private function set AffectedSpan (value : SnapshotSpan)

Property Value

Type: Microsoft.VisualStudio.Text.SnapshotSpan
The SnapshotSpan over which collapsible spans have changed.

.NET Framework Security

See Also

Reference

RegionsChangedEventArgs Class

Microsoft.VisualStudio.Text.Outlining Namespace