Freigeben über


MarginPlacement.FromTextViewMarginProvider<T> Method

Definition

Creates the MarginPlacement corresponding to an extension part implementing ITextViewMarginProvider.

public static Microsoft.VisualStudio.Extensibility.Editor.MarginPlacement FromTextViewMarginProvider<T> () where T : Microsoft.VisualStudio.Extensibility.Editor.ITextViewMarginProviderBase;
static member FromTextViewMarginProvider : unit -> Microsoft.VisualStudio.Extensibility.Editor.MarginPlacement (requires 'T :> Microsoft.VisualStudio.Extensibility.Editor.ITextViewMarginProviderBase)
Public Shared Function FromTextViewMarginProvider(Of T As ITextViewMarginProviderBase) () As MarginPlacement

Type Parameters

T

The Type of an extension part which implements ITextViewMarginProvider.

Returns

The MarginPlacement.

Applies to