Partager via


ContainedLanguageRenameType Enumeration

Used to specify the type of element is being renamed in a contained language.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'Declaration
Public Enumeration ContainedLanguageRenameType
public enum ContainedLanguageRenameType
public enum class ContainedLanguageRenameType
type ContainedLanguageRenameType
public enum ContainedLanguageRenameType

Members

Member name Description
CLRT_CLASS Specifies the rename type is a class.
CLRT_CLASSMEMBER Specifies the rename type is a class member.
CLRT_NAMESPACE Specifies the rename type is a namespace.
CLRT_OTHER Specifies the rename type is something other than a class, class member, or namespace.

Remarks

COM Signature

From singlefileeditor.idl:

typedef enum _CONTAINEDLANGUAGERENAMETYPE {
    CLRT_CLASS,
    CLRT_CLASSMEMBER,
    CLRT_NAMESPACE,
    CLRT_OTHER
} ContainedLanguageRenameType;

These values are passed to the OnRenamed method in the IVsContainedLanguageCodeSupport interface and the OnRenamed method in the IVsContainedLanguageHost interface.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace