Freigeben über


MarginPlacement Struct

Definition

Identifies a text view margin placement.

[Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.Extensibility.Editor.MarginPlacement+Converter))]
public readonly struct MarginPlacement : IEquatable<Microsoft.VisualStudio.Extensibility.Editor.MarginPlacement>
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.Extensibility.Editor.MarginPlacement+Converter))>]
type MarginPlacement = struct
Public Structure MarginPlacement
Implements IEquatable(Of MarginPlacement)
Inheritance
MarginPlacement
Attributes
Newtonsoft.Json.JsonConverterAttribute
Implements

Methods

Custom(String)

Initializes a MarginPlacement value.

Equals(MarginPlacement)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Indicates whether this instance and a specified object are equal.

FromTextViewMarginProvider<T>()

Creates the MarginPlacement corresponding to an extension part implementing ITextViewMarginProvider.

GetHashCode()

Returns the hash code for this instance.

ToString()

Returns the string value of MarginPlacement.

Operators

Equality(MarginPlacement, MarginPlacement)

Compares two MarginPlacement values returning whether they are equal.

Implicit(MarginPlacement to String)

Implicitly converts a MarginPlacement to a string.

Implicit(String to MarginPlacement)

Implicitly converts a string to a MarginPlacement.

Inequality(MarginPlacement, MarginPlacement)

Compares two MarginPlacement values returning whether they are different.

Applies to