共用方式為


SyntaxGenerator.AsPrivateInterfaceImplementation 方法

定義

多載

AsPrivateInterfaceImplementation(SyntaxNode, SyntaxNode)

將方法、屬性和索引子宣告轉換成私用介面實作。 這相當於 C# 明確介面實作, (您可以宣告它以透過 介面存取,但無法直接呼叫它) 。

AsPrivateInterfaceImplementation(SyntaxNode, SyntaxNode, String)

將方法、屬性和索引子宣告轉換成私用介面實作。 這相當於 C# 明確介面實作, (您可以宣告它以透過 介面存取,但無法直接呼叫它) 。

AsPrivateInterfaceImplementation(SyntaxNode, SyntaxNode)

來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs

將方法、屬性和索引子宣告轉換成私用介面實作。 這相當於 C# 明確介面實作, (您可以宣告它以透過 介面存取,但無法直接呼叫它) 。

public:
 Microsoft::CodeAnalysis::SyntaxNode ^ AsPrivateInterfaceImplementation(Microsoft::CodeAnalysis::SyntaxNode ^ declaration, Microsoft::CodeAnalysis::SyntaxNode ^ interfaceType);
public Microsoft.CodeAnalysis.SyntaxNode AsPrivateInterfaceImplementation (Microsoft.CodeAnalysis.SyntaxNode declaration, Microsoft.CodeAnalysis.SyntaxNode interfaceType);
public Microsoft.CodeAnalysis.SyntaxNode? AsPrivateInterfaceImplementation (Microsoft.CodeAnalysis.SyntaxNode declaration, Microsoft.CodeAnalysis.SyntaxNode interfaceType);
member this.AsPrivateInterfaceImplementation : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
Public Function AsPrivateInterfaceImplementation (declaration As SyntaxNode, interfaceType As SyntaxNode) As SyntaxNode

參數

declaration
SyntaxNode
interfaceType
SyntaxNode

傳回

適用於

AsPrivateInterfaceImplementation(SyntaxNode, SyntaxNode, String)

來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs
來源:
SyntaxGenerator.cs

將方法、屬性和索引子宣告轉換成私用介面實作。 這相當於 C# 明確介面實作, (您可以宣告它以透過 介面存取,但無法直接呼叫它) 。

public:
 abstract Microsoft::CodeAnalysis::SyntaxNode ^ AsPrivateInterfaceImplementation(Microsoft::CodeAnalysis::SyntaxNode ^ declaration, Microsoft::CodeAnalysis::SyntaxNode ^ interfaceType, System::String ^ interfaceMemberName);
public abstract Microsoft.CodeAnalysis.SyntaxNode AsPrivateInterfaceImplementation (Microsoft.CodeAnalysis.SyntaxNode declaration, Microsoft.CodeAnalysis.SyntaxNode interfaceType, string interfaceMemberName);
public abstract Microsoft.CodeAnalysis.SyntaxNode? AsPrivateInterfaceImplementation (Microsoft.CodeAnalysis.SyntaxNode declaration, Microsoft.CodeAnalysis.SyntaxNode interfaceType, string? interfaceMemberName);
abstract member AsPrivateInterfaceImplementation : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SyntaxNode * string -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function AsPrivateInterfaceImplementation (declaration As SyntaxNode, interfaceType As SyntaxNode, interfaceMemberName As String) As SyntaxNode

參數

declaration
SyntaxNode
interfaceType
SyntaxNode
interfaceMemberName
String

傳回

適用於