SymbolDisplayExtensionMethodStyle Enum
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.
Specifies how to display extension methods.
public enum class SymbolDisplayExtensionMethodStyle
public enum SymbolDisplayExtensionMethodStyle
type SymbolDisplayExtensionMethodStyle =
Public Enum SymbolDisplayExtensionMethodStyle
- Inheritance
-
SymbolDisplayExtensionMethodStyle
Fields
Default | 0 | Displays the extension method based on its MethodKind. |
InstanceMethod | 1 | Displays the extension method in the form of an instance method. For example, IEnumerable<TSource>.ElementAt<TSource>(int index). |
StaticMethod | 2 | Displays the extension method as a static method. For example, Enumerable.ElementAt<TSource>(this IEnumerable<TSource> source, int index). |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för