Поделиться через


VCCodeStruct - члены

Включить защищенные члены
Включить унаследованные члены

An object representing a structure code element in the source code of a solution.

Универсальный тип VCCodeStruct предоставляет следующий члены.

Методы

  Имя Описание
Открытый метод AddAttribute Creates a new attribute code construct and inserts the code in the correct location.
Открытый метод AddBase Adds an item to the list of inherited objects.
Открытый метод AddClass Creates a new class code construct and inserts the code in the correct location.
Открытый метод AddDelegate Creates a new delegate code construct and inserts the code in the correct location.
Открытый метод AddEnum Creates a new enumeration code construct and inserts the code in the correct location.
Открытый метод AddEvent Инфраструктура. Microsoft Internal Use Only.
Открытый метод AddFunction Creates a new function code construct and inserts the code in the correct location.
Открытый метод AddImplementedInterface Adds an interface to the list of inherited objects.
Открытый метод AddProperty Creates a new property code construct and inserts the code in the correct location.
Открытый метод AddStruct Creates a new structure code construct and inserts the code in the correct location.
Открытый метод AddTemplateParameter Adds a parameter to a template definition.
Открытый метод AddTypedef Adds a typedef statement to the object.
Открытый метод AddUnion Adds a union statement to the object.
Открытый метод AddVariable Creates a new variable code construct and inserts the code in the correct location.
Открытый метод GetEndPoint Gets a TextPoint object that marks the end of the code element definition.
Открытый метод GetStartPoint Gets a TextPoint object that defines the beginning of the code element definition.
Открытый метод IsSelf Determines if the specified code element is the same as the parent code element.
Открытый метод RemoveBase Removes an object from the list of bases.
Открытый метод RemoveInterface Removes an interface from the list of implemented interfaces.
Открытый метод RemoveMember Removes a member code construct.
Открытый метод RemoveTemplateParameter Removes a parameter from a template definition.
Открытый метод ValidateMember Validates that the proposed name is a valid Visual C++ name for the kind given in the context of the parent object.

В начало страницы

Свойства

  Имя Описание
Открытое свойство Access Defines the access attributes of this item.
Открытое свойство Attributes Gets a collection of all of the attributes for the parent object.
Открытое свойство Bases Gets a collection of classes from which this item derives.
Открытое свойство BodyText Gets or sets the body text of the object.
Открытое свойство Children Gets a collection of objects contained within this code construct.
Открытое свойство Classes Gets a collection of classes for the parent object.
Открытое свойство CodeModel Returns the VCCodeModel object for the project.
Открытое свойство Collection Gets the collection containing the object supporting this property or contained within this code construct.
Открытое свойство Comment Gets or sets the comment associated with the code element.
Открытое свойство DeclarationText Gets or sets the declaration of the object.
Открытое свойство DerivedTypes Gets a collection of objects derived from this object.
Открытое свойство DisplayName Gets the full name of the object.
Открытое свойство DocComment Gets or sets the document comment for the current code model element.
Открытое свойство DTE Gets the top-level extensibility object.
Открытое свойство EndPoint Gets the edit point that is the location of the end of the code item.
Открытое свойство EndPointOf Gets the end point of the object.
Открытое свойство Enums Gets a collection of enumerations for the object.
Открытое свойство Events Gets a collection of events for the object.
Открытое свойство Extender Returns the requested Extender object if it is available for this object.
Открытое свойство ExtenderCATID Gets the Extender category ID (CATID) for the object.
Открытое свойство ExtenderNames Gets a list of available Extenders for the object.
Открытое свойство File Gets the file where this object is defined.
Открытое свойство FullName Gets the full path and name of the object's file.
Открытое свойство Functions Gets a collection of functions for the object.
Открытое свойство ImplementedInterfaces Gets a collection of interfaces implemented by this object.
Открытое свойство InfoLocation Describes the capabilities of the code model.
Открытое свойство IsAbstract Gets or sets a value indicating whether or not an item is declared as abstract.
Открытое свойство IsCaseSensitive Gets a value indicating if a code element is case-sensitive.
Открытое свойство IsCodeType Gets a value indicating whether a CodeType object can be obtained from this object.
Открытое свойство IsDerivedFrom Gets a value indicating whether an object has another object as a base.
Открытое свойство IsInjected Gets if a code element has been injected by an attribute or macro expansion.
Открытое свойство IsManaged Sets or gets if the object is managed.
Открытое свойство IsReadOnly Gets if the file containing the object is read-only.
Открытое свойство IsSealed Sets or gets if the __sealed keyword is applied to the parent object.
Открытое свойство IsTemplate Gets if the object is a template.
Открытое свойство IsValue Sets or gets if the __value keyword is applied to the object.
Открытое свойство IsZombie Gets if the object exists.
Открытое свойство Kind Gets an enumeration indicating the type of object.
Открытое свойство Language Gets the programming language used to author the code.
Открытое свойство Location Returns the location of the object declaration.
Открытое свойство Members Gets a collection of items contained by this element.
Открытое свойство Name Gets or sets the name of the object.
Открытое свойство Namespace Gets an object defining the parent namespace.
Открытое свойство Parent Gets the immediate parent object of a given object.
Открытое свойство Picture Gets a picture automation object to be used as an icon in the user interface.
Открытое свойство Project Gets the Project associated with the object.
Открытое свойство ProjectItem Gets the ProjectItem object associated with the given object.
Открытое свойство Properties Gets the collection of properties for the object.
Открытое свойство References Not currently implemented.
Открытое свойство StartPoint Gets a TextPoint object that defines the beginning of the code item.
Открытое свойство StartPointOf Gets the start point of the object.
Открытое свойство Structs Gets the collection of structure elements for the object.
Открытое свойство TemplateParameters A collection of template parameters.
Открытое свойство Templatizations Инфраструктура. Microsoft Internal Use Only.
Открытое свойство Typedefs Gets the collection of Typedef elements for the object.
Открытое свойство Unions Gets the collection of union elements for the object.
Открытое свойство Variables Gets the collection of variables for the object.

В начало страницы

См. также

Ссылки

VCCodeStruct Интерфейс

Microsoft.VisualStudio.VCCodeModel - пространство имен