Share via


VCCodeModel.CreateCodeTypeRef Method

A CodeTypeRef object based on the data type indicator passed.

Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

Syntax

'Declaration
Function CreateCodeTypeRef ( _
    Type As Object _
) As CodeTypeRef
CodeTypeRef CreateCodeTypeRef(
    Object Type
)
CodeTypeRef^ CreateCodeTypeRef(
    Object^ Type
)
abstract CreateCodeTypeRef : 
        Type:Object -> CodeTypeRef
function CreateCodeTypeRef(
    Type : Object
) : CodeTypeRef

Parameters

  • Type
    Type: Object

    Required. A vsCMTypeRef constant indicating the data type that the function returns. This can be a CodeTypeRef object, a vsCMTypeRef constant, or a fully qualified type name.

Return Value

Type: EnvDTE.CodeTypeRef
A CodeTypeRef object.

Remarks

Visual C++ requires the colon-separated (::) format for its fully qualified type names. All other languages support the period-separated format.

The correctness of the arguments is determined by the language behind the code model.

.NET Framework Security

See Also

Reference

VCCodeModel Interface

Microsoft.VisualStudio.VCCodeModel Namespace