共用方式為


IdentityPropertiesView.GetProperties Method

Property bag. This could be useful, for example if consumer has to iterate through current properties and modify / remove some based on pattern matching property names.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Public Function GetProperties As IEnumerable(Of KeyValuePair(Of String, Object))
public IEnumerable<KeyValuePair<string, Object>> GetProperties()
public:
IEnumerable<KeyValuePair<String^, Object^>>^ GetProperties()
member GetProperties : unit -> IEnumerable<KeyValuePair<string, Object>> 
public function GetProperties() : IEnumerable<KeyValuePair<String, Object>>

Return Value

Type: System.Collections.Generic.IEnumerable<KeyValuePair<String, Object>>
Returns IEnumerable<T>.

.NET Framework Security

See Also

Reference

IdentityPropertiesView Class

GetProperties Overload

Microsoft.TeamFoundation.Framework.Server Namespace