共用方式為


ExternalSourceDirectiveTriviaSyntax.Update 方法

定義

傳回具有指定之變更的這個複本。 如果沒有實際變更,則傳回這個實例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::ExternalSourceDirectiveTriviaSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken hashToken, Microsoft::CodeAnalysis::SyntaxToken externalSourceKeyword, Microsoft::CodeAnalysis::SyntaxToken openParenToken, Microsoft::CodeAnalysis::SyntaxToken externalSource, Microsoft::CodeAnalysis::SyntaxToken commaToken, Microsoft::CodeAnalysis::SyntaxToken lineStart, Microsoft::CodeAnalysis::SyntaxToken closeParenToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ExternalSourceDirectiveTriviaSyntax Update (Microsoft.CodeAnalysis.SyntaxToken hashToken, Microsoft.CodeAnalysis.SyntaxToken externalSourceKeyword, Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.SyntaxToken externalSource, Microsoft.CodeAnalysis.SyntaxToken commaToken, Microsoft.CodeAnalysis.SyntaxToken lineStart, Microsoft.CodeAnalysis.SyntaxToken closeParenToken);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ExternalSourceDirectiveTriviaSyntax
Public Function Update (hashToken As SyntaxToken, externalSourceKeyword As SyntaxToken, openParenToken As SyntaxToken, externalSource As SyntaxToken, commaToken As SyntaxToken, lineStart As SyntaxToken, closeParenToken As SyntaxToken) As ExternalSourceDirectiveTriviaSyntax

參數

hashToken
SyntaxToken

HashToken 屬性的值。

externalSourceKeyword
SyntaxToken

ExternalSourceKeyword 屬性的值。

openParenToken
SyntaxToken

OpenParenToken 屬性的值。

externalSource
SyntaxToken

ExternalSource 屬性的值。

commaToken
SyntaxToken

CommaToken 屬性的值。

lineStart
SyntaxToken

LineStart 屬性的值。

closeParenToken
SyntaxToken

CloseParenToken 屬性的值。

傳回

適用於