EditorOptionKey<T> Structure

 

Represents a type-safe key for editor options.

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

public struct EditorOptionKey<T>

Type Parameters

T

The type of the option value.

NameDescription
System_CAPS_pubmethodEditorOptionKey<T>(String)

Initializes a new instance of EditorOptionKey<T>.

NameDescription
System_CAPS_pubpropertyName

Gets the name of this key.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether two EditorOptionKey<T> objects are the same.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Gets the hash code for this object.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Converts this object to a string.(Overrides ValueType.ToString().)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(EditorOptionKey<T>, EditorOptionKey<T>)

Determines whether two instances of this type are the same.

System_CAPS_puboperatorSystem_CAPS_staticInequality(EditorOptionKey<T>, EditorOptionKey<T>)

Determines whether two instances of this type are different.

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: