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)

CodeTypeRef CreateCodeTypeRef(
	Object Type
)

Parameters

Type
Type: System.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.

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft