IdentityPropertiesView.TryGetViewProperty Method (IdentityPropertyScope, String, Object%)
Try get a property value with the view namespace.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Function TryGetViewProperty ( _
propertyScope As IdentityPropertyScope, _
propertyName As String, _
<OutAttribute> ByRef propertyValue As Object _
) As Boolean
public bool TryGetViewProperty(
IdentityPropertyScope propertyScope,
string propertyName,
out Object propertyValue
)
public:
bool TryGetViewProperty(
IdentityPropertyScope propertyScope,
String^ propertyName,
[OutAttribute] Object^% propertyValue
)
member TryGetViewProperty :
propertyScope:IdentityPropertyScope *
propertyName:string *
propertyValue:Object byref -> bool
public function TryGetViewProperty(
propertyScope : IdentityPropertyScope,
propertyName : String,
propertyValue : Object
) : boolean
Parameters
- propertyScope
Type: Microsoft.TeamFoundation.Framework.Common.IdentityPropertyScope
propertyName
Type: System.StringName of the property.
- propertyValue
Type: System.Object%
Return Value
Type: System.Boolean
Property value.
.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.