Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Claim::Clone Method (ClaimsIdentity^)

.NET Framework (current version)
 

Returns a new Claim object copied from this object. The subject of the new claim is set to the specified ClaimsIdentity.

Namespace:   System.Security.Claims
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual Claim^ Clone(
	ClaimsIdentity^ identity
)

Parameters

identity
Type: System.Security.Claims::ClaimsIdentity^

The intended subject of the new claim.

Return Value

Type: System.Security.Claims::Claim^

The new claim object.

This is a shallow copy operation. The Subject property of the new Claim object is set to the value of the identity parameter.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.5
Return to top
Show:
© 2017 Microsoft