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
Name | Value | Description |
---|---|---|
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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.