SyntaxFactory.MemberAccessExpression 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
MemberAccessExpression(SyntaxKind, SyntaxToken, SimpleNameSyntax) |
表示成员访问 (.name) 或字典访问 (!name) 。 Kind 属性确定哪种类型的访问。 |
MemberAccessExpression(SyntaxKind, ExpressionSyntax, SyntaxToken, SimpleNameSyntax) |
表示成员访问 (.name) 或字典访问 (!name) 。 Kind 属性确定哪种类型的访问。 |
MemberAccessExpression(SyntaxKind, SyntaxToken, SimpleNameSyntax)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
表示成员访问 (.name) 或字典访问 (!name) 。 Kind 属性确定哪种类型的访问。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::MemberAccessExpressionSyntax ^ MemberAccessExpression(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::SyntaxToken operatorToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::SimpleNameSyntax ^ name);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.MemberAccessExpressionSyntax MemberAccessExpression (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken operatorToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleNameSyntax name);
static member MemberAccessExpression : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleNameSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.MemberAccessExpressionSyntax
Public Shared Function MemberAccessExpression (kind As SyntaxKind, operatorToken As SyntaxToken, name As SimpleNameSyntax) As MemberAccessExpressionSyntax
参数
- kind
- SyntaxKind
一个 SyntaxKind ,表示特定类型的 MemberAccessExpressionSyntax。 SimpleMemberAccessExpression 之一,DictionaryAccessExpression。
- operatorToken
- SyntaxToken
“.”或“!”标记。
- name
- SimpleNameSyntax
“.”或“!”标记后面的标识符。
返回
适用于
MemberAccessExpression(SyntaxKind, ExpressionSyntax, SyntaxToken, SimpleNameSyntax)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
表示成员访问 (.name) 或字典访问 (!name) 。 Kind 属性确定哪种类型的访问。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::MemberAccessExpressionSyntax ^ MemberAccessExpression(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression, Microsoft::CodeAnalysis::SyntaxToken operatorToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::SimpleNameSyntax ^ name);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.MemberAccessExpressionSyntax MemberAccessExpression (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.SyntaxToken operatorToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleNameSyntax name);
static member MemberAccessExpression : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleNameSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.MemberAccessExpressionSyntax
Public Shared Function MemberAccessExpression (kind As SyntaxKind, expression As ExpressionSyntax, operatorToken As SyntaxToken, name As SimpleNameSyntax) As MemberAccessExpressionSyntax
参数
- kind
- SyntaxKind
一个 SyntaxKind ,表示特定类型的 MemberAccessExpressionSyntax。 SimpleMemberAccessExpression 之一,DictionaryAccessExpression。
- expression
- ExpressionSyntax
“.”或“!”标记左侧的表达式。
- operatorToken
- SyntaxToken
“.”或“!”标记。
- name
- SimpleNameSyntax
“.”或“!”标记后面的标识符。