共用方式為


DeclarationModifiers 結構

定義

public value class DeclarationModifiers : IEquatable<Microsoft::CodeAnalysis::Editing::DeclarationModifiers>
public struct DeclarationModifiers : IEquatable<Microsoft.CodeAnalysis.Editing.DeclarationModifiers>
public readonly struct DeclarationModifiers : IEquatable<Microsoft.CodeAnalysis.Editing.DeclarationModifiers>
type DeclarationModifiers = struct
Public Structure DeclarationModifiers
Implements IEquatable(Of DeclarationModifiers)
繼承
DeclarationModifiers
實作

屬性

Abstract
Async
Const
Extern
File
IsAbstract
IsAsync
IsConst
IsExtern
IsFile
IsNew
IsOverride
IsPartial
IsReadOnly
IsRef
IsRequired
IsSealed
IsStatic
IsUnsafe
IsVirtual
IsVolatile
IsWithEvents
IsWriteOnly
New
None
Override
Partial
ReadOnly
Ref
Required
Sealed
Static
Unsafe
Virtual
Volatile
WithEvents
WriteOnly

方法

Equals(DeclarationModifiers)
Equals(Object)
From(ISymbol)
GetHashCode()
ToString()
TryParse(String, DeclarationModifiers)
WithAsync(Boolean)
WithIsAbstract(Boolean)
WithIsConst(Boolean)
WithIsExtern(Boolean)
WithIsFile(Boolean)
WithIsNew(Boolean)
WithIsOverride(Boolean)
WithIsReadOnly(Boolean)
WithIsRef(Boolean)
WithIsRequired(Boolean)
WithIsSealed(Boolean)
WithIsStatic(Boolean)
WithIsUnsafe(Boolean)
WithIsVirtual(Boolean)
WithIsVolatile(Boolean)
WithIsWriteOnly(Boolean)
WithPartial(Boolean)
WithWithEvents(Boolean)

運算子

Addition(DeclarationModifiers, DeclarationModifiers)
BitwiseAnd(DeclarationModifiers, DeclarationModifiers)
BitwiseOr(DeclarationModifiers, DeclarationModifiers)
Equality(DeclarationModifiers, DeclarationModifiers)
Inequality(DeclarationModifiers, DeclarationModifiers)
Subtraction(DeclarationModifiers, DeclarationModifiers)

適用於