MarginPlacement.FromTextViewMarginProvider<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.