共用方式為


DeclareStatementSyntax.WithLibraryName(LiteralExpressionSyntax) 方法

定義

傳回這個 的複本,其中 LibraryName 屬性已變更為指定的值。 如果指定的值與目前的值相同,則傳回這個實例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::DeclareStatementSyntax ^ WithLibraryName(Microsoft::CodeAnalysis::VisualBasic::Syntax::LiteralExpressionSyntax ^ libraryName);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.DeclareStatementSyntax WithLibraryName (Microsoft.CodeAnalysis.VisualBasic.Syntax.LiteralExpressionSyntax libraryName);
member this.WithLibraryName : Microsoft.CodeAnalysis.VisualBasic.Syntax.LiteralExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.DeclareStatementSyntax
Public Function WithLibraryName (libraryName As LiteralExpressionSyntax) As DeclareStatementSyntax

參數

傳回

適用於