Ejemplo n.º 1
0
 /// <inheritdoc />
 /// <summary>
 /// 注册表键信息类构造函数。
 /// </summary>
 /// <param name="regPath">
 /// 注册表键路径信息类。
 /// </param>
 /// <param name="lpKind">
 /// 注册表键值类型。
 /// </param>
 /// <param name="lpValue">
 /// 注册表键值。
 /// </param>
 public RegKey(RegPath regPath, REG_KEY_TYPE lpKind = REG_KEY_TYPE.REG_UNKNOWN, object lpValue = null) :
     base(regPath)
 {
     LpKind  = lpKind;
     LpValue = lpValue;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 注册表路径信息类复制构造函数。
 /// </summary>
 /// <param name="regPath">
 /// 注册表路径信息类。
 /// </param>
 public RegPath(RegPath regPath)
 {
     HKey        = regPath.HKey;
     LpSubKey    = regPath.LpSubKey;
     LpValueName = regPath.LpValueName;
 }