SymbolDisplayFormat.WithGlobalNamespaceStyle Method
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.
Creates a copy of the SymbolDisplayFormat but with replaced SymbolDisplayGlobalNamespaceStyle.
public:
Microsoft::CodeAnalysis::SymbolDisplayFormat ^ WithGlobalNamespaceStyle(Microsoft::CodeAnalysis::SymbolDisplayGlobalNamespaceStyle style);
public Microsoft.CodeAnalysis.SymbolDisplayFormat WithGlobalNamespaceStyle (Microsoft.CodeAnalysis.SymbolDisplayGlobalNamespaceStyle style);
member this.WithGlobalNamespaceStyle : Microsoft.CodeAnalysis.SymbolDisplayGlobalNamespaceStyle -> Microsoft.CodeAnalysis.SymbolDisplayFormat
Public Function WithGlobalNamespaceStyle (style As SymbolDisplayGlobalNamespaceStyle) As SymbolDisplayFormat
Parameters
An object specifying parameters on how namespace symbols should be formatted.
Returns
A duplicate of the SymbolDisplayFormat, with a replaced set of SymbolDisplayGlobalNamespaceStyle.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.