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.
- pcbOutput
Type: System.UInt32%
Microsoft internal use only.
- pGenerateProgress
Type: Microsoft.VisualStudio.Shell.Interop.IVsGeneratorProgress
Microsoft internal use only.
Return Value
Type: System.Int32
Microsoft internal use only.
Implements
IVsSingleFileGenerator.Generate(String, String, String, IntPtr[], UInt32, IVsGeneratorProgress)
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Data.Entity.Design.VisualStudio.SingleFileGenerator Namespace