Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft