IWpfTextViewHost::GetTextViewMargin Method (String^)
Visual Studio 2015
Gets the ITextViewMargin with the specified margin name that is attached to an edge of this IWpfTextView.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Parameters
- marginName
-
Type:
System::String^
The name of the ITextViewMargin.
Return Value
Type: Microsoft.VisualStudio.Text.Editor::IWpfTextViewMargin^The ITextViewMargin with a name that matches marginName.
| Exception | Condition |
|---|---|
| ArgumentNullException | marginName is null. |
Show: