Udostępnij za pośrednictwem


CodeModel2 Members

Include Protected Members
Include Inherited Members

Allows access to programmatic constructs in a source code file.

The CodeModel2 type exposes the following members.

Methods

 

Name

Description

Public method

AddAttribute

Overloaded.

Public method

AddClass

Overloaded.

Public method

AddDelegate

Overloaded.

Public method

AddEnum

Overloaded.

Public method

AddFunction

Overloaded.

Public method

AddInterface

Overloaded.

Public method

AddNamespace

Overloaded.

Public method

AddStruct

Overloaded.

Public method

AddVariable

Overloaded.

Public method

CodeTypeFromFullName

Overloaded.

Public method

CreateCodeTypeRef

Overloaded.

Public method

DotNetNameFromLanguageSpecific

Converts a native language string to .Net format.

Public method

ElementFromID

Returns a specific, existing code element.

Public method

IsValidID

Overloaded.

Public method

LanguageSpecificNameFromDotNet

Translates from the fully qualified Visual Studio name to an unmanaged namespace form.

Public method

Remove

Overloaded.

Public method

Synchronize

Ensures that all current code model events have been raised and the model has finished being generated.

Top

Properties

 

Name

Description

Public property

CodeElements

Overloaded.

Public property

DTE

Overloaded.

Public property

IsCaseSensitive

Overloaded.

Public property

Language

Overloaded.

Public property

Parent

Overloaded.

Top

See Also

Reference

CodeModel2 Interface

EnvDTE80 Namespace