共用方式為


IWpfTextView.GetSpaceReservationManager(String) Method

Definition

Gets a named ISpaceReservationManager.

public:
 Microsoft::VisualStudio::Text::Editor::ISpaceReservationManager ^ GetSpaceReservationManager(System::String ^ name);
public:
 Microsoft::VisualStudio::Text::Editor::ISpaceReservationManager ^ GetSpaceReservationManager(Platform::String ^ name);
Microsoft::VisualStudio::Text::Editor::ISpaceReservationManager GetSpaceReservationManager(std::wstring const & name);
public Microsoft.VisualStudio.Text.Editor.ISpaceReservationManager GetSpaceReservationManager (string name);
abstract member GetSpaceReservationManager : string -> Microsoft.VisualStudio.Text.Editor.ISpaceReservationManager
Public Function GetSpaceReservationManager (name As String) As ISpaceReservationManager

Parameters

name
String

The name of the manager.

Returns

An instance of the manager in this view. Not null.

Exceptions

Remarks

Managers must be exported using SpaceReservationManagerDefinition component parts.

Applies to