IVsSingleFileGeneratorFactory.GetGeneratorInformation Method

Definition

Gets information about a generator factory.

public:
 int GetGeneratorInformation(System::String ^ wszProgId, [Runtime::InteropServices::Out] int % pbGeneratesDesignTimeSource, [Runtime::InteropServices::Out] int % pbGeneratesSharedDesignTimeSource, [Runtime::InteropServices::Out] int % pbUseTempPEFlag, [Runtime::InteropServices::Out] Guid % pguidGenerator);
public int GetGeneratorInformation (string wszProgId, out int pbGeneratesDesignTimeSource, out int pbGeneratesSharedDesignTimeSource, out int pbUseTempPEFlag, out Guid pguidGenerator);
abstract member GetGeneratorInformation : string * int * int * int * Guid -> int
Public Function GetGeneratorInformation (wszProgId As String, ByRef pbGeneratesDesignTimeSource As Integer, ByRef pbGeneratesSharedDesignTimeSource As Integer, ByRef pbUseTempPEFlag As Integer, ByRef pguidGenerator As Guid) As Integer

Parameters

wszProgId
String

[in] The prog ID of the generator factory.

pbGeneratesDesignTimeSource
Int32

[out] Boolean value; true if the factory generates source at design time.

pbGeneratesSharedDesignTimeSource
Int32

[out] Boolean value; true if the factory generates shared source at design time.

pbUseTempPEFlag
Int32

[out] Boolean value; true if the factory uses temporary PE flags.

pguidGenerator
Guid

[out] The GUID of the factory.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT GetGeneratorInformation(  
    [in] LPCWSTR wszProgID,   
    [out] BOOL* pbGeneratesDesignTimeSource,  
    [out] BOOL* pbGeneratesSharedDesignTimeSource,  
    [out] BOOL* pbUseTempPEFlag,  
    [out] GUID* pguidGenerator  
);  

Applies to