ICodeGenerator::GetTypeOutput Method (CodeTypeReference^)

 

Gets the type indicated by the specified CodeTypeReference.

Namespace:   System.CodeDom.Compiler
Assembly:  System (in System.dll)

[PermissionSetAttribute(SecurityAction::LinkDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name = "FullTrust")]
String^ GetTypeOutput(
	CodeTypeReference^ type
)

Parameters

type
Type: System.CodeDom::CodeTypeReference^

A CodeTypeReference that indicates the type to return.

Return Value

Type: System::String^

A text representation of the specified type for the language this code generator is designed to generate code in. For example, in Visual Basic, passing in type System.Int32 will return "Integer".

SecurityAction::LinkDemand

for full trust for the immediate caller. This member cannot be used by partially trusted code.

SecurityAction::InheritanceDemand

for full trust for inheritors. This member cannot be inherited by partially trusted code.

.NET Framework
Available since 1.1
Return to top
Show: