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.

Evidence::GetHostEvidence<T> Method ()

.NET Framework (current version)
 

Gets host evidence of the specified type from the collection.

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

public:
generic<typename T>
where T : EvidenceBase
[ComVisibleAttribute(false)]
T GetHostEvidence()

Return Value

Type: T

Evidence of type T in the host evidence collection.

Type Parameters

T

The type of the evidence to get.

This method returns only evidence that is derived from the EvidenceBase class. It does not return legacy evidence objects that are derived from other classes.

.NET Framework
Available since 4.0
Return to top
Show:
© 2017 Microsoft