EditableXmlConfigHelper Class

Visual Studio 2015
 

Provides methods for editing configuration settings in the user's project.

Namespace:   Microsoft.VisualStudio.ConnectedServices
Assembly:  Microsoft.VisualStudio.ConnectedServices (in Microsoft.VisualStudio.ConnectedServices.dll)

System::Object
  Microsoft.VisualStudio.ConnectedServices::XmlConfigHelper
    Microsoft.VisualStudio.ConnectedServices::EditableXmlConfigHelper

public ref class EditableXmlConfigHelper abstract : XmlConfigHelper

NameDescription
System_CAPS_protmethodEditableXmlConfigHelper()

This constructor supports unit testing your extension and is not intended to be used directly from your production code.

NameDescription
System_CAPS_pubpropertyConfiguration

Gets the Configuration object that can be used to inspect the configuration settings.(Inherited from XmlConfigHelper.)

NameDescription
System_CAPS_pubmethodDispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.(Inherited from XmlConfigHelper.)

System_CAPS_protmethodDispose(Boolean)

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.(Inherited from XmlConfigHelper.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetAppSetting(String^)

Gets the string value of the setting with the specified key in the appSettings config section with the specified key and value.(Inherited from XmlConfigHelper.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsPrefixUsedInAppSettings(String^)

Gets a value indicating whether an appSetting key exists with the specified keyPrefix.(Inherited from XmlConfigHelper.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSave()

Writes the configuration settings contained within this Configuration object to the current XML configuration file.

System_CAPS_pubmethodSetAppSetting(String^, String^, String^)

Ensures there is a key-value pair in the appSettings config section with the specified key and value.

System_CAPS_pubmethodToString()

(Inherited from Object.)

The Save method must be called to save any changes.

This class does not preserve whitespace in the appSettings section.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: