共用方式為


ServiceDefinition.TryGetProperty 方法

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

語法

'宣告
Public Function TryGetProperty ( _
    name As String, _
    <OutAttribute> ByRef value As Object _
) As Boolean
public bool TryGetProperty(
    string name,
    out Object value
)

參數

傳回值

類型:System.Boolean

.NET Framework 安全性

請參閱

參考

ServiceDefinition 類別

Microsoft.VisualStudio.Services.Location 命名空間