共用方式為


IProfileProvider.GetProfileValue 方法

取得目前使用者指定的設定檔屬性值。

命名空間:  Microsoft.BusinessData.Runtime
組件:  Microsoft.BusinessData (在 Microsoft.BusinessData.dll 中)

語法

'宣告
Function GetProfileValue ( _
    propertyName As String _
) As Object
'用途
Dim instance As IProfileProvider
Dim propertyName As String
Dim returnValue As Object

returnValue = instance.GetProfileValue(propertyName)
Object GetProfileValue(
    string propertyName
)

參數

  • propertyName
    類型:System.String

    若要取得屬性的名稱。

傳回值

類型:System.Object
屬性值。

請參閱

參照

IProfileProvider 介面

IProfileProvider 成員

Microsoft.BusinessData.Runtime 命名空間