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.
Initializes a new instance of ViewState for the specified text view
Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
Public Sub New ( _
    view As ITextView _
)
public ViewState(
    ITextView view
)
public:
ViewState(
    ITextView^ view
)
new : 
        view:ITextView -> ViewState
public function ViewState(
    view : ITextView
)
Parameters
- view 
 Type: Microsoft.VisualStudio.Text.Editor.ITextView- The ITextView. 
.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.