• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/20

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

20 Cards in this Set

  • Front
  • Back
When defining an attribute class, what attribute specifies the program elements
upon which the newly defined attribute can be placed.
AttributeUsage
What is the AttributeUsageAttribute class constructor
Public Sub New(ByVal validOn As System.AttributeTargets)
The validOn parameter indicates what?
the program elements to which the newly defined attribute can be
applied
The AllowMultiple property indicates what?
Indicates whether the attribute can be used more than once on a single program element. The
type is Boolean. The default is False.
The Inherited property indicates what?
Indicates whether the newly defined attribute is automatically inherited by derived classes and
overridden members. The type is Boolean. The default is False.
The ValidOn Property indicates what?
Indicates the program elements to which the newly defined attribute can be applied. The type
is AttributeTargets (defined in the System namespace).
The 15 validOn parameter permitted values are
Assembly, Module, Class, Struct, Enum, Constructor, Method, Property, Field, Event, Interface, Parameter, Delegate, ReturnValue, and All.
What is the CLSCompliantAttribute class
constructor?
Public Sub New(ByVal isCompliant As Boolean)
What parameter indicates whether the program element is CLS-compliant
isCompliant
What property type is isCompliant?
Boolean
What is the Definition of an attribute class?
The Attribute class associates predefined system information or user-defined custom information with a target element.
what is a target element?
assembly, class, constructor, delegate, enum, event, field, interface, method, portable executable file module, parameter, property, return value, struct, or another attribute
Visual Basic .NET source code is saved in files with what extension?
.vb
What are source files?
Source files are plain-text files that can be created and edited with any text editor including Notepad.
How is form layout specified
by setting properties of form
objects explicitly within code written manually, or the WYSIWYG form
designer in Visual Studio
What are identifiers
Identifiers are names given to namespaces (discussed later in this chapter), types (enumerations,
structures, classes, standard modules, interfaces, and delegates), type members (methods,
constructors, events, constants, fields, and properties), and variables.
Identifiers must begin with what?
either an alphabetic or underscore character ( _ ),
Identifiers must be of what length?
Any
Qualified identifiers consist of what?
Two or more identifiers
connected with the dot character ( . ).
What kind of declarations may use qualified identifiers.
Only namespace declarations may use qualified identifiers.