ConfigurationHelper.GetSettingName 方法

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

命名空间: Microsoft.WindowsAzure.Common.Internals
程序集: Microsoft.WindowsAzure.Common(在 Microsoft.WindowsAzure.Common.dll 中)

使用

用法
Dim type As Type
Dim name As String
Dim format As String
Dim returnValue As String

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

语法

声明
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

参数

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

返回值

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

线程安全

此类型的所有公开静态(在 Visual Basic 中为共享)成员均为线程安全型成员。但不保证所有实例成员都是线程安全的。

平台

开发平台

Windows Vista、Windows 7 和 Windows Server 2008

目标平台

另请参阅

参考

ConfigurationHelper 类
ConfigurationHelper 成员
Microsoft.WindowsAzure.Common.Internals 命名空间