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
‘선언
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.