Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Attempts to get a property that has the specified name.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Function TryGetProperty(Of T) ( _
key As String, _
<OutAttribute> ByRef value As T _
) As Boolean
public bool TryGetProperty<T>(
string key,
out T value
)
public:
generic<typename T>
bool TryGetProperty(
String^ key,
[OutAttribute] T% value
)
member TryGetProperty :
key:string *
value:'T byref -> bool
JScript does not support generic types or methods.
Type Parameters
- T
The type of the property.
Parameters
- key
Type: System.String
The name of the property to get.
- value
Type: T%
The value of the property.
Return Value
Type: System.Boolean
True if the specified property is located in this collection; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.