SimpleImportsClauseSyntax.Update(ImportAliasClauseSyntax, NameSyntax) 方法

定义

返回具有指定更改的此副本。 如果没有实际更改,则返回此实例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::SimpleImportsClauseSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::ImportAliasClauseSyntax ^ alias, Microsoft::CodeAnalysis::VisualBasic::Syntax::NameSyntax ^ name);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleImportsClauseSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.ImportAliasClauseSyntax alias, Microsoft.CodeAnalysis.VisualBasic.Syntax.NameSyntax name);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.ImportAliasClauseSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.NameSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleImportsClauseSyntax
Public Function Update (alias As ImportAliasClauseSyntax, name As NameSyntax) As SimpleImportsClauseSyntax

参数

alias
ImportAliasClauseSyntax

Alias 属性的值。

name
NameSyntax

Name 属性的值。

返回

适用于