IdentityReferenceCollection.Translate Method (Type)

 

Converts the objects in the collection to the specified type. Calling this method is the same as calling Translate(Type, Boolean) with the second parameter set to false, which means that exceptions will not be thrown for items that fail conversion.

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

member Translate : 
        targetType:Type -> IdentityReferenceCollection

Parameters

targetType
Type: System.Type

The type to which items in the collection are being converted.

Return Value

Type: System.Security.Principal.IdentityReferenceCollection

A IdentityReferenceCollection collection that represents the converted contents of the original collection.

Order is preserved in the returned collection, That is, the first item in the returned collection corresponds to the first item in the source collection, and so on, for each item in the collection.

The items in the source collection are not required to be of the same type.

.NET Framework
Available since 2.0
Return to top
Show: