Share via


PosCommon.DeleteConfigurationProperty Method

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Usage

'Usage
Public Class posCommonImplementation
    Inherits PosCommon
        Protected Overrides Sub DeleteConfigurationProperty(propertyName As String)
            MyBase.DeleteConfigurationProperty(propertyName)
        End Sub
End Class

Syntax

'Declaration
Protected Sub DeleteConfigurationProperty( _
    ByVal propertyName As String _
)
protected void DeleteConfigurationProperty(
    string propertyName
);
protected: Void DeleteConfigurationProperty(
    String^ propertyName
);
protected void DeleteConfigurationProperty(
    System.String propertyName
);
protected function DeleteConfigurationProperty(
     propertyName : String
) : Void;

Parameters

  • propertyName
    Contains the name of the property the service object wants to delete from the configuration XML file.

Remarks

Called by the service object to delete the specified property from the XML configuration file stored at the following location:

HKEY_LOCAL_MACHINE\SOFTWARE\POSfor.NET\Configuration

DeleteConfigurationProperty returns void if successful. It can throw an exception if the specified property name isn’t valid.

Thread Safety

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

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

PosCommon Class
PosCommon Members
Microsoft.PointOfService Namespace