CodeElementKind Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A code element kind identifies a category of code elements, such as a class, a method, a field, etc.
[Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.Extensibility.Editor.CodeElementKind+Converter))]
public readonly struct CodeElementKind : IEquatable<Microsoft.VisualStudio.Extensibility.Editor.CodeElementKind>
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.Extensibility.Editor.CodeElementKind+Converter))>]
type CodeElementKind = struct
Public Structure CodeElementKind
Implements IEquatable(Of CodeElementKind)
- Inheritance
-
CodeElementKind
- Attributes
-
Newtonsoft.Json.JsonConverterAttribute
- Implements
Methods
Custom(String) |
Initializes a CodeElementKind value. |
Equals(CodeElementKind) | 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. |
GetHashCode() | Returns the hash code for this instance. |
IsOfKind(CodeElementKind) |
Determines if this code element kind is of the same kind as the other code element kind, taking in consideration implicit hierarchy - e.g. File, Module, Package or Namespace are all considered to be of kind Container. |
ToString() |
Returns the string value of CodeElementKind. |
Operators
Equality(CodeElementKind, CodeElementKind) |
Compares two CodeElementKind values returning whether they are equal. |
Implicit(CodeElementKind to String) |
Implicitly converts a CodeElementKind to a |
Implicit(String to CodeElementKind) |
Implicitly converts a |
Inequality(CodeElementKind, CodeElementKind) |
Compares two CodeElementKind values returning whether they are different. |