Microsoft.VisualStudio.Project.ConfigProvider.AdviseCfgProviderEvents C# (CSharp) 메소드

AdviseCfgProviderEvents() 공개 메소드

Registers the caller for configuration event notification.
public AdviseCfgProviderEvents ( IVsCfgProviderEvents sink, uint &cookie ) : int
sink IVsCfgProviderEvents Reference to the IVsCfgProviderEvents interface to be called to provide notification of configuration events.
cookie uint Reference to a token representing the completed registration
리턴 int
        public virtual int AdviseCfgProviderEvents(IVsCfgProviderEvents sink, out uint cookie)
        {
            cookie = this.cfgEventSinks.Add(sink);
            return VSConstants.S_OK;
        }