SyntaxFactory.GetTypeExpression Method

Definition

Overloads

GetTypeExpression(TypeSyntax)

Represents a GetType expression.

GetTypeExpression(SyntaxToken, SyntaxToken, TypeSyntax, SyntaxToken)

Represents a GetType expression.

GetTypeExpression(TypeSyntax)

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

Represents a GetType expression.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::GetTypeExpressionSyntax ^ GetTypeExpression(Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeSyntax ^ type);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.GetTypeExpressionSyntax GetTypeExpression (Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax type);
static member GetTypeExpression : Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.GetTypeExpressionSyntax
Public Shared Function GetTypeExpression (type As TypeSyntax) As GetTypeExpressionSyntax

Parameters

type
TypeSyntax

The type to get the Type object for. This can be an open generic type.

Returns

Applies to

GetTypeExpression(SyntaxToken, SyntaxToken, TypeSyntax, SyntaxToken)

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

Represents a GetType expression.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::GetTypeExpressionSyntax ^ GetTypeExpression(Microsoft::CodeAnalysis::SyntaxToken getTypeKeyword, Microsoft::CodeAnalysis::SyntaxToken openParenToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeSyntax ^ type, Microsoft::CodeAnalysis::SyntaxToken closeParenToken);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.GetTypeExpressionSyntax GetTypeExpression (Microsoft.CodeAnalysis.SyntaxToken getTypeKeyword, Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax type, Microsoft.CodeAnalysis.SyntaxToken closeParenToken);
static member GetTypeExpression : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.GetTypeExpressionSyntax
Public Shared Function GetTypeExpression (getTypeKeyword As SyntaxToken, openParenToken As SyntaxToken, type As TypeSyntax, closeParenToken As SyntaxToken) As GetTypeExpressionSyntax

Parameters

getTypeKeyword
SyntaxToken

The "GetType" keyword.

openParenToken
SyntaxToken

The "(" token.

type
TypeSyntax

The type to get the Type object for. This can be an open generic type.

closeParenToken
SyntaxToken

The ")" token.

Returns

Applies to