ConfigurationHelper.GetParameter 方法 (IDictionary<String, Object>, String, Boolean)

 

获取配置帮助程序参数。

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

语法

public static object GetParameter(
    IDictionary<string, object> parameters,
    string name,
    bool isRequired = true
)
public:
static Object^ GetParameter(
    IDictionary<String^, Object^>^ parameters,
    String^ name,
    bool isRequired = true
)
static member GetParameter : 
        parameters:IDictionary<string, Object> *
        name:string *
        isRequired:bool = true -> Object
Public Shared Function GetParameter (
    parameters As IDictionary(Of String, Object),
    name As String,
    isRequired As Boolean
) As Object

参数

  • isRequired
    Type: System.Boolean

    该参数是否为必需的指示符。true 如果参数是必需的 ;否则为 false

返回值

Type: System.Object

配置帮助程序参数。

请参阅

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

返回页首