SpriteEditor.FileAssociationHelper.GetCreateSubKey C# (CSharp) 메소드

GetCreateSubKey() 개인적인 정적인 메소드

private static GetCreateSubKey ( RegistryKey parentKey, string subkeyPath ) : RegistryKey
parentKey Microsoft.Win32.RegistryKey
subkeyPath string
리턴 Microsoft.Win32.RegistryKey
        private static RegistryKey GetCreateSubKey(RegistryKey parentKey, string subkeyPath)
        {
            RegistryKey subKey = parentKey.OpenSubKey(subkeyPath, true);
            if (subKey == null)
            {
                subKey = parentKey.CreateSubKey(subkeyPath);
            }
            return subKey;
        }

Same methods

FileAssociationHelper::GetCreateSubKey ( RegistryKey parentKey, string subkeyPath, string valueIfNull ) : RegistryKey