MarginContainerAttribute Class
TOC
Collapse the table of content
Expand the table of content

MarginContainerAttribute Class

 

Specifies the type of margin container.

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

System.Object
  System.Attribute
    Microsoft.VisualStudio.Utilities.SingletonBaseMetadataAttribute
      Microsoft.VisualStudio.Text.Editor.MarginContainerAttribute

[<Sealed>]
[<MetadataAttributeAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field,
    AllowMultiple = false)>]
type MarginContainerAttribute = 
    class
        inherit SingletonBaseMetadataAttribute
    end

NameDescription
System_CAPS_pubmethodMarginContainerAttribute(String)

Instantiates a new instance of a MarginContainerAttribute.

NameDescription
System_CAPS_pubpropertyMarginContainer

Gets the name of the margin container.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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 Editor Extension Points.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft