IVsSingleFileGeneratorFactory::GetDefaultGenerator Method (String^, String^)
Visual Studio 2015
Gets the default generator prog ID for a specified file.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- wszFilename
-
Type:
System::String^
[in] The file for which to get the generator prog ID.
- pbstrGenProgID
-
Type:
System::String^
[out] The default generator prog ID.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT GetDefaultGenerator(
[in] LPCOLESTR wszFilename,
[out, retval] BSTR* pbstrGenProgID
);
Show: