Share via


ConfigurationHelper.GetSettingName Method

Returns the name of the setting that is associated with the helper.

Namespace: Microsoft.WindowsAzure.Common.Internals
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Usage

'Usage
Dim type As Type
Dim name As String
Dim format As String
Dim returnValue As String

returnValue = ConfigurationHelper.GetSettingName(type, name, format)

Syntax

'Declaration
Public Shared Function GetSettingName ( _
    type As Type, _
    <OptionalAttribute> Optional name As String = Nothing, _
    <OptionalAttribute> Optional format As String = Nothing _
) As String
public static string GetSettingName (
    Type type,
    [OptionalAttribute] string name,
    [OptionalAttribute] string format
)
public:
static String^ GetSettingName (
    Type^ type, 
    [OptionalAttribute] String^ name, 
    [OptionalAttribute] String^ format
)
public static String GetSettingName (
    Type type, 
    /** @attribute OptionalAttribute() */ String name, 
    /** @attribute OptionalAttribute() */ String format
)
public static function GetSettingName (
    type : Type, 
    name : String, 
    format : String
) : String

Parameters

  • type
    The type.
  • name
    The name of the setting.
  • format
    The setting format.

Return Value

The name of the setting that is associated with the helper.

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 Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

ConfigurationHelper Class
ConfigurationHelper Members
Microsoft.WindowsAzure.Common.Internals Namespace