IWpfTextViewHost.GetTextViewMargin(String) IWpfTextViewHost.GetTextViewMargin(String) IWpfTextViewHost.GetTextViewMargin(String) IWpfTextViewHost.GetTextViewMargin(String) Method

Definition

Gets the ITextViewMargin with the specified margin name that is attached to an edge of this IWpfTextView.

public:
 Microsoft::VisualStudio::Text::Editor::IWpfTextViewMargin ^ GetTextViewMargin(System::String ^ marginName);
public Microsoft.VisualStudio.Text.Editor.IWpfTextViewMargin GetTextViewMargin (string marginName);
abstract member GetTextViewMargin : string -> Microsoft.VisualStudio.Text.Editor.IWpfTextViewMargin
Public Function GetTextViewMargin (marginName As String) As IWpfTextViewMargin
Parameters
marginName
String String String String

The name of the ITextViewMargin.

Returns
Exceptions

Remarks

This method should be called only after the Loaded event is raised.

Applies to