Click or drag to resize

VarTypeRef Properties

The VarTypeRef type exposes the following members.

Properties
  NameDescription
Public property_AsString
This property is just to make debugging easier.
(Inherited from CodeObject.)
Public propertyAnnotations
Annotations (comments, attributes, directives, messages) associated with the current code object.
(Inherited from CodeObject.)
Public propertyArrayRanks
The array ranks of the type reference (if any).
(Overrides TypeRefBaseArrayRanks.)
Public propertyCategory
The descriptive category of the SymbolicRef.
(Inherited from TypeRef.)
Public propertyColumnNumber
The column number associated with the CodeObject (if any, 0 if none).
(Inherited from CodeObject.)
Public propertyComment
The comment for the code object (if any).
(Inherited from CodeObject.)
Public propertyDocComment
The documentation comment for the code object (if any).
(Inherited from CodeObject.)
Public propertyDontUseKeyword
True if the referenced type should display as a type name instead of a keyword if it's a primitive type.
(Inherited from TypeRefBase.)
Public propertyEOLComment
The End-Of-Line comment for the code object (if any).
(Inherited from CodeObject.)
Public propertyHasAnnotations
True if the code object has any annotations.
(Inherited from CodeObject.)
Public propertyHasArrayRanks
True if the type reference has any array ranks.
(Inherited from TypeRefBase.)
Public propertyHasAttributes
True if the code object has any attributes.
(Inherited from CodeObject.)
Public propertyHasComments
True if the code object has any comments of any kind.
(Inherited from CodeObject.)
Public propertyHasCompilerDirectives
True if the code object has any compiler directive annotations.
(Inherited from CodeObject.)
Public propertyHasDocComments
True if the code object has any documentation comments.
(Inherited from CodeObject.)
Public propertyHasEOLComments
True if the code object has any EOL comments.
(Inherited from CodeObject.)
Public propertyHasEOLOrPostAnnotations
True if the code object has any EOL or Postfix annotations.
(Inherited from CodeObject.)
Public propertyHasErrors
True if the code object has any error messages.
(Inherited from CodeObject.)
Public propertyHasFirstOnLineAnnotations
True if the code object has any annotations on separate lines.
(Inherited from CodeObject.)
Public propertyHasInfixComments
True if the code object has any Infix comments.
(Inherited from CodeObject.)
Public propertyHasMessages
True if the code object has any generated messages.
(Inherited from CodeObject.)
Public propertyHasNoIndentation
Determines if the code object has no indentation.
(Inherited from CodeObject.)
Public propertyHasNonEOLComments
True if the code object has any regular (non-doc) preceding (non-EOL, non-Infix, non-Postfix) comments.
(Inherited from CodeObject.)
Public propertyHasParens
True if the expression is surrounded by parens.
(Inherited from Expression.)
Public propertyHasParensDefault
True if the expression should have parens by default.
(Inherited from Expression.)
Public propertyHasPostAnnotations
True if the code object has any postfix annotations.
(Inherited from CodeObject.)
Public propertyHasTerminator
Determines if the code object has a terminator character.
(Inherited from CodeObject.)
Public propertyHasTypeArguments
True if there are any type arguments.
(Inherited from TypeRefBase.)
Public propertyHiddenRef
Any hidden reference to another CodeObject.
(Inherited from CodeObject.)
Public propertyInfixComment
The infix comment for the code object (if any).
(Inherited from CodeObject.)
Public propertyIsAbstract
True if the referenced type is abstract.
(Inherited from TypeRef.)
Public propertyIsArray
True if the type reference is an array.
(Inherited from TypeRefBase.)
Public propertyIsBitFlagsEnum
True if the referenced type is a bit-flags enum.
(Inherited from TypeRef.)
Public propertyIsBuiltInType
True if the referenced type is a built-in type (has a keyword). The built-in types are: object, void, sbyte, byte, short, ushort, int, uint, long, ulong, char, bool, string, float, double, decimal
(Inherited from TypeRef.)
Public propertyIsBuiltInTypeOrArray
True if the referenced type is a built-in type or an array of a built-in type.
(Inherited from TypeRef.)
Public propertyIsClass
True if the referenced type is a class.
(Inherited from TypeRef.)
Public propertyIsConst
Always false.
(Overrides TypeRefIsConst.)
Public propertyIsDelegateType
True if the referenced type is a delegate type.
(Inherited from TypeRef.)
Public propertyIsDocCodeReference
Returns true if the TypeRefBase is a DocCodeRefBase reference to a code object, otherwise false.
(Inherited from TypeRefBase.)
Public propertyIsEndFirstOnLine
True if the closing paren or bracket is on a new line.
(Inherited from Expression.)
Public propertyIsEnum
True if the referenced type is an enum.
(Inherited from TypeRef.)
Public propertyIsFirstOnLine
Determines if the code object appears as the first item on a line.
(Inherited from CodeObject.)
Public propertyIsFirstOnLineDefault
True if the code object defaults to starting on a new line.
(Inherited from Expression.)
Public propertyIsFixedBufferType
True if the referenced type is a fixed buffer type.
(Inherited from TypeRef.)
Public propertyIsGenerated
Determines if the code object is generated.
(Inherited from CodeObject.)
Public propertyIsGenericParameter
True if the referenced type is a generic type parameter.
(Inherited from TypeRef.)
Public propertyIsGenericType
True if the type is a generic type (meaning that either it or an enclosing type has type arguments).
(Inherited from TypeRef.)
Public propertyIsGroupingSet
Determines if the 'grouping' (has parens or braces) status has been set.
(Inherited from CodeObject.)
Public propertyIsInterface
True if the referenced type is an interface.
(Inherited from TypeRef.)
Public propertyIsInternal
True if the referenced type has internal access.
(Inherited from TypeRef.)
Public propertyIsNested
True if the referenced type is a nested type.
(Inherited from TypeRef.)
Public propertyIsNewLinesSet
Determines if the newline count has been set on the code object.
(Inherited from CodeObject.)
Public propertyIsNullableType
True if the referenced type is a nullable type.
(Inherited from TypeRef.)
Public propertyIsOrContainsNestedGenericType
True if the referenced type is a nested generic type, or if it (recursively) contains a nested generic type as a type argument.
(Inherited from TypeRef.)
Public propertyIsPartial
True if the referenced type is a partial type.
(Inherited from TypeRef.)
Public propertyIsPointer
True if the type reference is a pointer.
(Inherited from TypeRefBase.)
Public propertyIsPossibleDelegateType
True if the expression evaluates to a delegate, unresolved, or dynamic type or a TypeParameterRef.
(Inherited from Expression.)
Public propertyIsPrimitive
True if the type is Primitive. The Primitive Types are: sbyte, byte, short, ushort, int, uint, long, ulong, IntPtr, UIntPtr, char, bool, float, double. The following are NOT primitive types: object, void, string, decimal
(Inherited from TypeRef.)
Public propertyIsPrivate
True if the referenced type has private access.
(Inherited from TypeRef.)
Public propertyIsProtected
True if the referenced type has protected access.
(Inherited from TypeRef.)
Public propertyIsPublic
True if the referenced type has public access.
(Inherited from TypeRef.)
Public propertyIsRenderable
True if the CodeObject is renderable.
(Inherited from CodeObject.)
Public propertyIsSingleLine
Determines if the code object only requires a single line for display.
(Inherited from TypeRefBase.)
Public propertyIsSingleLineDefault
True if the code object only requires a single line for display by default.
(Inherited from CodeObject.)
Public propertyIsStatic
True if the referenced type is static.
(Inherited from TypeRef.)
Public propertyIsUserClass
True if the referenced type is a user-defined class (excludes 'object' and 'string').
(Inherited from TypeRef.)
Public propertyIsUserStruct
True if the referenced type is a user-defined struct (excludes primitive types including 'void' and 'decimal', and enums).
(Inherited from TypeRef.)
Public propertyIsValueType
True if the referenced type is a value type.
(Inherited from TypeRef.)
Public propertyLineNumber
The line number associated with the CodeObject (if any, 0 if none).
(Inherited from CodeObject.)
Public propertyName
The name of the VarTypeRef.
(Overrides TypeRefName.)
Public propertyNamespaceName
The associated Namespace name.
(Overrides TypeRefNamespaceName.)
Public propertyNewLines
The number of newlines preceding the object (0 to N).
(Inherited from CodeObject.)
Public propertyParent
The parent CodeObject.
(Inherited from TypeRefBase.)
Public propertyPointerCount
The number of pointer dereferences.
(Inherited from TypeRefBase.)
Public propertyPostfixComment
The postfix comment for the code object (if any).
(Inherited from CodeObject.)
Public propertyReference
The code object to which the SymbolicRef refers.
(Overrides SymbolicRefReference.)
Public propertyTypeArgumentCount
The number of type arguments.
(Inherited from TypeRefBase.)
Public propertyTypeArguments
The type argument Expressions of the reference (if any).
(Overrides TypeRefBaseTypeArguments.)
Top
See Also