Share via


SyntaxFactory.UnaryMinusExpression Method

Definition

Overloads

UnaryMinusExpression(ExpressionSyntax)

Describes a unary operator: Plus, Negate, Not or AddressOf.

UnaryMinusExpression(SyntaxToken, ExpressionSyntax)

Describes a unary operator: Plus, Negate, Not or AddressOf.

UnaryMinusExpression(ExpressionSyntax)

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

Describes a unary operator: Plus, Negate, Not or AddressOf.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::UnaryExpressionSyntax ^ UnaryMinusExpression(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ operand);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.UnaryExpressionSyntax UnaryMinusExpression (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax operand);
static member UnaryMinusExpression : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.UnaryExpressionSyntax
Public Shared Function UnaryMinusExpression (operand As ExpressionSyntax) As UnaryExpressionSyntax

Parameters

operand
ExpressionSyntax

The expression being operated on.

Returns

Applies to

UnaryMinusExpression(SyntaxToken, ExpressionSyntax)

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

Describes a unary operator: Plus, Negate, Not or AddressOf.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::UnaryExpressionSyntax ^ UnaryMinusExpression(Microsoft::CodeAnalysis::SyntaxToken operatorToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ operand);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.UnaryExpressionSyntax UnaryMinusExpression (Microsoft.CodeAnalysis.SyntaxToken operatorToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax operand);
static member UnaryMinusExpression : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.UnaryExpressionSyntax
Public Shared Function UnaryMinusExpression (operatorToken As SyntaxToken, operand As ExpressionSyntax) As UnaryExpressionSyntax

Parameters

operatorToken
SyntaxToken

The token that is the operator.

operand
ExpressionSyntax

The expression being operated on.

Returns

Applies to