共用方式為


MarginContainerAttribute(String) Constructor

Definition

Instantiates a new instance of a MarginContainerAttribute.

public:
 MarginContainerAttribute(System::String ^ marginContainer);
public:
 MarginContainerAttribute(Platform::String ^ marginContainer);
 MarginContainerAttribute(std::wstring const & marginContainer);
public MarginContainerAttribute (string marginContainer);
new Microsoft.VisualStudio.Text.Editor.MarginContainerAttribute : string -> Microsoft.VisualStudio.Text.Editor.MarginContainerAttribute
Public Sub New (marginContainer As String)

Parameters

marginContainer
String

The name of the container for this margin.

Exceptions

marginContainer is null.

marginContainer is an empty string.

Applies to