Sdílet prostřednictvím


MarginContainerAttribute Class

Definition

Specifies the type of margin container.

public ref class MarginContainerAttribute sealed : Microsoft::VisualStudio::Utilities::SingletonBaseMetadataAttribute
public ref class MarginContainerAttribute sealed : Microsoft::VisualStudio::Utilities::SingletonBaseMetadataAttribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false)]
[System.ComponentModel.Composition.MetadataAttribute]
public sealed class MarginContainerAttribute : Microsoft.VisualStudio.Utilities.SingletonBaseMetadataAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type MarginContainerAttribute = class
    inherit SingletonBaseMetadataAttribute
Public NotInheritable Class MarginContainerAttribute
Inherits SingletonBaseMetadataAttribute
Inheritance
MarginContainerAttribute
Attributes

Remarks

The Name attribute is used for associating a name with a component part.

For more information about margins, see the "Extending Margins and Scrollbars" section in Language Service and Editor Extension Points.

Constructors

MarginContainerAttribute(String)

Instantiates a new instance of a MarginContainerAttribute.

Properties

MarginContainer

The name of the margin container.

Applies to