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)
Syntax
'Declaración
Public Structure EditorOptionKey(Of T)
public struct EditorOptionKey<T>
generic<typename T>
public value class EditorOptionKey
[<Sealed>]
type EditorOptionKey<'T> = struct end
JScript does not support generic types or methods.
Type Parameters
- T
The type of the option value.
The EditorOptionKey<T> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EditorOptionKey<T> | Initializes a new instance of EditorOptionKey<T>. |
Top
Properties
Name | Description | |
---|---|---|
Name | Gets the name of this key. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether two EditorOptionKey<T> objects are the same. (Overrides ValueType.Equals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Gets the hash code for this object. (Overrides ValueType.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Converts this object to a string. (Overrides ValueType.ToString().) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Determines whether two instances of this type are the same. | |
Inequality | Determines whether two instances of this type are different. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.