TypeProvider.AddCodeCompileUnit(CodeCompileUnit) TypeProvider.AddCodeCompileUnit(CodeCompileUnit) TypeProvider.AddCodeCompileUnit(CodeCompileUnit) Method

Definición

Agrega una referencia a CodeCompileUnit a la lista interna.Adds a reference to the CodeCompileUnit to the internal list. CodeCompileUnit se utiliza para la búsqueda Type en el método GetType(String).This CodeCompileUnit is used for the Type lookup in the GetType(String) method.

public:
 void AddCodeCompileUnit(System::CodeDom::CodeCompileUnit ^ codeCompileUnit);
public void AddCodeCompileUnit (System.CodeDom.CodeCompileUnit codeCompileUnit);
member this.AddCodeCompileUnit : System.CodeDom.CodeCompileUnit -> unit

Parámetros

codeCompileUnit
CodeCompileUnit CodeCompileUnit CodeCompileUnit

CodeCompileUnit que se va a agregar.The CodeCompileUnit to add.

Excepciones

codeCompileUnit es una referencia nula (Nothing en Visual Basic).codeCompileUnit is a null reference (Visual Basic Nothing).

Se hace referencia codeCompileUnit ya en esta instancia.codeCompileUnit is already referenced in this instance.

Se aplica a