CodeTypeReference Constructor (String, CodeTypeReferenceOptions)

 

Initializes a new instance of the CodeTypeReference class using the specified type name and code type reference option.

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

public CodeTypeReference(
	string typeName,
	CodeTypeReferenceOptions codeTypeReferenceOption
)

Parameters

typeName
Type: System.String

The name of the type to reference.

codeTypeReferenceOption
Type: System.CodeDom.CodeTypeReferenceOptions

The code type reference option, one of the CodeTypeReferenceOptions values.

.NET Framework
Available since 2.0
Return to top
Show: