Condividi tramite


MarginContainerAttribute Constructor

Instantiates a new instance of a MarginContainerAttribute.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Dichiarazione
Public Sub New ( _
    marginContainer As String _
)
public MarginContainerAttribute(
    string marginContainer
)
public:
MarginContainerAttribute(
    String^ marginContainer
)
new : 
        marginContainer:string -> MarginContainerAttribute
public function MarginContainerAttribute(
    marginContainer : String
)

Parameters

  • marginContainer
    Type: System.String
    The name of the container for this margin.

Exceptions

Exception Condition
ArgumentNullException

marginContainer is nulla null reference (Nothing in Visual Basic).

ArgumentException

marginContainer is an empty string.

.NET Framework Security

See Also

Reference

MarginContainerAttribute Class

Microsoft.VisualStudio.Text.Editor Namespace