MethodDeclarationSyntax.WithExplicitInterfaceSpecifier 方法

定义

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::MethodDeclarationSyntax ^ WithExplicitInterfaceSpecifier(Microsoft::CodeAnalysis::CSharp::Syntax::ExplicitInterfaceSpecifierSyntax ^ explicitInterfaceSpecifier);
public Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax WithExplicitInterfaceSpecifier (Microsoft.CodeAnalysis.CSharp.Syntax.ExplicitInterfaceSpecifierSyntax explicitInterfaceSpecifier);
public Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax WithExplicitInterfaceSpecifier (Microsoft.CodeAnalysis.CSharp.Syntax.ExplicitInterfaceSpecifierSyntax? explicitInterfaceSpecifier);
member this.WithExplicitInterfaceSpecifier : Microsoft.CodeAnalysis.CSharp.Syntax.ExplicitInterfaceSpecifierSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax
Public Function WithExplicitInterfaceSpecifier (explicitInterfaceSpecifier As ExplicitInterfaceSpecifierSyntax) As MethodDeclarationSyntax

参数

explicitInterfaceSpecifier
ExplicitInterfaceSpecifierSyntax

返回

适用于