共用方式為


NamespaceDeclarationSyntax.WithOpenBraceToken(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::NamespaceDeclarationSyntax ^ WithOpenBraceToken(Microsoft::CodeAnalysis::SyntaxToken openBraceToken);
public Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax WithOpenBraceToken (Microsoft.CodeAnalysis.SyntaxToken openBraceToken);
member this.WithOpenBraceToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax
Public Function WithOpenBraceToken (openBraceToken As SyntaxToken) As NamespaceDeclarationSyntax

Parameters

openBraceToken
SyntaxToken

Returns

Applies to