다음을 통해 공유


WritableSettingsStore Members

Include Protected Members
Include Inherited Members

Abstract class for both reading and writing the selected scope's collections and properties. It is obtained from GetWritableSettingsStore() method.

The WritableSettingsStore type exposes the following members.

Constructors

  Name Description
Protected method WritableSettingsStore

Top

Methods

  Name Description
Public method CollectionExists Checks the existence of the collection passed in to this method. (Inherited from SettingsStore.)
Public method CreateCollection Creates the given collection path by creating each nested collection while skipping the ones that already exist.
Public method DeleteCollection Deletes the given collection recursively deleting all of the sub-collections and properties in it. If the collection does not exist or an empty string ("") is passed then the method returns false.
Public method DeleteProperty Deletes the given property from the collection. If the property or the collection does not exist then the method returns false.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetBoolean(String, String) Returns the value of the requested property whose data type is [!:SettingsType.Int32] as boolean. (Inherited from SettingsStore.)
Public method GetBoolean(String, String, Boolean) Returns the value of the requested property whose data type is [!:SettingsType.Int32] as boolean. (Inherited from SettingsStore.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetInt32(String, String) Returns the value of the requested property whose data type is [!:SettingsType.Int32]. (Inherited from SettingsStore.)
Public method GetInt32(String, String, Int32) Returns the value of the requested property whose data type is [!:SettingsType.Int32]. (Inherited from SettingsStore.)
Public method GetInt64(String, String) Returns the value of the requested property whose data type is [!:SettingsType.Int64]. (Inherited from SettingsStore.)
Public method GetInt64(String, String, Int64) Returns the value of the requested property whose data type is [!:SettingsType.Int64]. (Inherited from SettingsStore.)
Public method GetLastWriteTime Provides the last write time of the properties and sub-collections immediate to the given collection. (Inherited from SettingsStore.)
Public method GetMemoryStream Returns the value of the requested property whose data type is [!:SettingsType.Binary]. In order to access the underlying byte array at once [!:MemoryStream.ToArray] method can be used. (Inherited from SettingsStore.)
Public method GetPropertyCount Returns the number of properties under the given collection. (Inherited from SettingsStore.)
Public method GetPropertyNames Returns the names of properties under the given collection. (Inherited from SettingsStore.)
Public method GetPropertyType Returns the type of the requested property. (Inherited from SettingsStore.)
Public method GetString(String, String) Returns the value of the requested property whose data type is [!:SettingsType.String]. (Inherited from SettingsStore.)
Public method GetString(String, String, String) Returns the value of the requested property whose data type is [!:SettingsType.String]. (Inherited from SettingsStore.)
Public method GetSubCollectionCount Returns the number of sub-collections under the given collection. (Inherited from SettingsStore.)
Public method GetSubCollectionNames Returns the names of sub-collections under the given collection. (Inherited from SettingsStore.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetUInt32(String, String) Returns the value of the requested property whose data type is [!:SettingsType.Int32]. (Inherited from SettingsStore.)
Public method GetUInt32(String, String, UInt32) Returns the value of the requested property whose data type is [!:SettingsType.Int32]. (Inherited from SettingsStore.)
Public method GetUInt64(String, String) Returns the value of the requested property whose data type is [!:SettingsType.Int64]. (Inherited from SettingsStore.)
Public method GetUInt64(String, String, UInt64) Returns the value of the requested property whose data type is [!:SettingsType.Int64]. (Inherited from SettingsStore.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method PropertyExists Checks the existance of the property passed in to this method. (Inherited from SettingsStore.)
Public method SetBoolean Updates the value of the specified property to the given Boolean value while setting its data type to [!:SettingsType.Int32].
Public method SetInt32 Updates the value of the specified property to the given integer value while setting its data type to [!:SettingsType.Int32].
Public method SetInt64 Updates the value of the specified property to the given long value while setting its data type to [!:SettingsType.Int64].
Public method SetMemoryStream Updates the value of the specified property to the bits of the MemoryStream while setting its data type to [!:SettingsType.Binary].
Public method SetString Updates the value of the specified property to the given string value while setting its data type to [!:SettingsType.String].
Public method SetUInt32 Updates the value of the specified property to the given unsigned integer value while setting its data type to [!:SettingsType.Int32].
Public method SetUInt64 Updates the value of the specified property to the given unsigned long value while setting its data type to [!:SettingsType.Int64].
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

See Also

Reference

WritableSettingsStore Class

Microsoft.VisualStudio.Settings Namespace