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: System.ObjectRequired. 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.