Microsoft.VisualStudio.Project.ConfigProvider.GetCfgOfName C# (CSharp) Method

GetCfgOfName() public method

Returns the configuration associated with a specified configuration or platform name.
public GetCfgOfName ( string name, string platName, IVsCfg &cfg ) : int
name string The name of the configuration to be returned.
platName string The name of the platform for the configuration to be returned.
cfg IVsCfg The implementation of the IVsCfg interface.
return int
        public virtual int GetCfgOfName(string name, string platName, out IVsCfg cfg)
        {
            cfg = null;
            cfg = this.GetProjectConfiguration(name, platName);

            return VSConstants.S_OK;
        }