CodeMemberField Constructor (CodeTypeReference, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the CodeMemberField class using the specified field type and field name.

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

public CodeMemberField(
	CodeTypeReference type,
	string name
)

Parameters

type
Type: System.CodeDom.CodeTypeReference

An object that indicates the type of the field.

name
Type: System.String

The name of the field.

.NET Framework
Available since 1.1
Return to top
Show: