Share via


BaseCodeGenerator.Generate Method

Microsoft internal use only.

Namespace:  Microsoft.Data.Entity.Design.VisualStudio.SingleFileGenerator
Assembly:  Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)

Syntax

'Declaration
Public Function Generate ( _
    wszInputFilePath As String, _
    bstrInputFileContents As String, _
    wszDefaultNamespace As String, _
    rgbOutputFileContents As IntPtr(), _
    <OutAttribute> ByRef pcbOutput As UInteger, _
    pGenerateProgress As IVsGeneratorProgress _
) As Integer
'Usage
Dim instance As BaseCodeGenerator
Dim wszInputFilePath As String
Dim bstrInputFileContents As String
Dim wszDefaultNamespace As String
Dim rgbOutputFileContents As IntPtr()
Dim pcbOutput As UInteger
Dim pGenerateProgress As IVsGeneratorProgress
Dim returnValue As Integer

returnValue = instance.Generate(wszInputFilePath, _
    bstrInputFileContents, wszDefaultNamespace, _
    rgbOutputFileContents, pcbOutput, _
    pGenerateProgress)
public int Generate(
    string wszInputFilePath,
    string bstrInputFileContents,
    string wszDefaultNamespace,
    IntPtr[] rgbOutputFileContents,
    out uint pcbOutput,
    IVsGeneratorProgress pGenerateProgress
)
public:
virtual int Generate(
    String^ wszInputFilePath, 
    String^ bstrInputFileContents, 
    String^ wszDefaultNamespace, 
    array<IntPtr>^ rgbOutputFileContents, 
    [OutAttribute] unsigned int% pcbOutput, 
    IVsGeneratorProgress^ pGenerateProgress
) sealed
public final function Generate(
    wszInputFilePath : String, 
    bstrInputFileContents : String, 
    wszDefaultNamespace : String, 
    rgbOutputFileContents : IntPtr[], 
    pcbOutput : uint, 
    pGenerateProgress : IVsGeneratorProgress
) : int

Parameters

  • wszInputFilePath
    Type: System.String
    Microsoft internal use only.
  • bstrInputFileContents
    Type: System.String
    Microsoft internal use only.
  • wszDefaultNamespace
    Type: System.String
    Microsoft internal use only.
  • rgbOutputFileContents
    Type: System.IntPtr[]
    Microsoft internal use only.

Return Value

Type: System.Int32
Microsoft internal use only.

Implements

IVsSingleFileGenerator.Generate(String, String, String, IntPtr[], UInt32, IVsGeneratorProgress)

Permissions

See Also

Reference

BaseCodeGenerator Class

BaseCodeGenerator Members

Microsoft.Data.Entity.Design.VisualStudio.SingleFileGenerator Namespace