共用方式為


IdentityPropertiesView.GetViewProperty Method (IdentityPropertyScope, String)

Gets 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 GetViewProperty ( _
    propertyScope As IdentityPropertyScope, _
    propertyName As String _
) As Object
public Object GetViewProperty(
    IdentityPropertyScope propertyScope,
    string propertyName
)
public:
Object^ GetViewProperty(
    IdentityPropertyScope propertyScope, 
    String^ propertyName
)
member GetViewProperty : 
        propertyScope:IdentityPropertyScope * 
        propertyName:string -> Object
public function GetViewProperty(
    propertyScope : IdentityPropertyScope, 
    propertyName : String
) : Object

Parameters

Return Value

Type: System.Object
Property value.

.NET Framework Security

See Also

Reference

IdentityPropertiesView Class

GetViewProperty Overload

Microsoft.TeamFoundation.Framework.Server Namespace