Show / Hide Table of Contents

    Class CVRSettings

    Inheritance
    System.Object
    CVRSettings
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Valve.VR
    Assembly: Assembly-CSharp.dll
    Syntax
    public class CVRSettings

    Methods

    GetBool(String, String, ref EVRSettingsError)

    Declaration
    public bool GetBool(string pchSection, string pchSettingsKey, ref EVRSettingsError peError)
    Parameters
    Type Name Description
    System.String pchSection
    System.String pchSettingsKey
    EVRSettingsError peError
    Returns
    Type Description
    System.Boolean

    GetFloat(String, String, ref EVRSettingsError)

    Declaration
    public float GetFloat(string pchSection, string pchSettingsKey, ref EVRSettingsError peError)
    Parameters
    Type Name Description
    System.String pchSection
    System.String pchSettingsKey
    EVRSettingsError peError
    Returns
    Type Description
    System.Single

    GetInt32(String, String, ref EVRSettingsError)

    Declaration
    public int GetInt32(string pchSection, string pchSettingsKey, ref EVRSettingsError peError)
    Parameters
    Type Name Description
    System.String pchSection
    System.String pchSettingsKey
    EVRSettingsError peError
    Returns
    Type Description
    System.Int32

    GetSettingsErrorNameFromEnum(EVRSettingsError)

    Declaration
    public string GetSettingsErrorNameFromEnum(EVRSettingsError eError)
    Parameters
    Type Name Description
    EVRSettingsError eError
    Returns
    Type Description
    System.String

    GetString(String, String, StringBuilder, UInt32, ref EVRSettingsError)

    Declaration
    public void GetString(string pchSection, string pchSettingsKey, StringBuilder pchValue, uint unValueLen, ref EVRSettingsError peError)
    Parameters
    Type Name Description
    System.String pchSection
    System.String pchSettingsKey
    System.Text.StringBuilder pchValue
    System.UInt32 unValueLen
    EVRSettingsError peError

    RemoveKeyInSection(String, String, ref EVRSettingsError)

    Declaration
    public void RemoveKeyInSection(string pchSection, string pchSettingsKey, ref EVRSettingsError peError)
    Parameters
    Type Name Description
    System.String pchSection
    System.String pchSettingsKey
    EVRSettingsError peError

    RemoveSection(String, ref EVRSettingsError)

    Declaration
    public void RemoveSection(string pchSection, ref EVRSettingsError peError)
    Parameters
    Type Name Description
    System.String pchSection
    EVRSettingsError peError

    SetBool(String, String, Boolean, ref EVRSettingsError)

    Declaration
    public void SetBool(string pchSection, string pchSettingsKey, bool bValue, ref EVRSettingsError peError)
    Parameters
    Type Name Description
    System.String pchSection
    System.String pchSettingsKey
    System.Boolean bValue
    EVRSettingsError peError

    SetFloat(String, String, Single, ref EVRSettingsError)

    Declaration
    public void SetFloat(string pchSection, string pchSettingsKey, float flValue, ref EVRSettingsError peError)
    Parameters
    Type Name Description
    System.String pchSection
    System.String pchSettingsKey
    System.Single flValue
    EVRSettingsError peError

    SetInt32(String, String, Int32, ref EVRSettingsError)

    Declaration
    public void SetInt32(string pchSection, string pchSettingsKey, int nValue, ref EVRSettingsError peError)
    Parameters
    Type Name Description
    System.String pchSection
    System.String pchSettingsKey
    System.Int32 nValue
    EVRSettingsError peError

    SetString(String, String, String, ref EVRSettingsError)

    Declaration
    public void SetString(string pchSection, string pchSettingsKey, string pchValue, ref EVRSettingsError peError)
    Parameters
    Type Name Description
    System.String pchSection
    System.String pchSettingsKey
    System.String pchValue
    EVRSettingsError peError

    Sync(Boolean, ref EVRSettingsError)

    Declaration
    public bool Sync(bool bForce, ref EVRSettingsError peError)
    Parameters
    Type Name Description
    System.Boolean bForce
    EVRSettingsError peError
    Returns
    Type Description
    System.Boolean
    In This Article
    • Methods
      • GetBool(String, String, ref EVRSettingsError)
      • GetFloat(String, String, ref EVRSettingsError)
      • GetInt32(String, String, ref EVRSettingsError)
      • GetSettingsErrorNameFromEnum(EVRSettingsError)
      • GetString(String, String, StringBuilder, UInt32, ref EVRSettingsError)
      • RemoveKeyInSection(String, String, ref EVRSettingsError)
      • RemoveSection(String, ref EVRSettingsError)
      • SetBool(String, String, Boolean, ref EVRSettingsError)
      • SetFloat(String, String, Single, ref EVRSettingsError)
      • SetInt32(String, String, Int32, ref EVRSettingsError)
      • SetString(String, String, String, ref EVRSettingsError)
      • Sync(Boolean, ref EVRSettingsError)
    Back to top Copyright (c) Valve Corporation, All rights reserved.