Skybound.Gecko.GeckoStyleSheetService.UnregisterStyleSheet C# (CSharp) Méthode

UnregisterStyleSheet() public méthode

public UnregisterStyleSheet ( string sheetURI, uint type ) : void
sheetURI string
type uint
Résultat void
        public void UnregisterStyleSheet(string sheetURI, uint type)
        {
            nsIIOService ios = Xpcom.GetService<nsIIOService>("@mozilla.org/network/io-service;1");
            ios = Xpcom.QueryInterface<nsIIOService>(ios);
            nsIURI ssURI = ios.NewURI(new nsAUTF8String(sheetURI), null, null);
            if (StyleSheetService.sheetRegistered(ssURI, type))
                StyleSheetService.unregisterSheet(ssURI, type);
        }