共用方式為


ProfileHttpClientBase.SetPropertyAsync 方法

命名空間:  Microsoft.VisualStudio.Services.Profile.Client
組件:  Microsoft.VisualStudio.Services.WebApi (在 Microsoft.VisualStudio.Services.WebApi.dll 中)

語法

'宣告
Protected Overridable Function SetPropertyAsync ( _
    type As ProfileHttpClientBase.ProfilePropertyType, _
    value As String, _
    id As String, _
    userState As Object _
) As Task(Of Integer)
protected virtual Task<int> SetPropertyAsync(
    ProfileHttpClientBase.ProfilePropertyType type,
    string value,
    string id,
    Object userState
)

參數

傳回值

類型:System.Threading.Tasks.Task<Int32>

.NET Framework 安全性

請參閱

參考

ProfileHttpClientBase 類別

Microsoft.VisualStudio.Services.Profile.Client 命名空間