IdentityReferenceCollection.Translate Method (Type)
.NET Framework (current version)
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.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- targetType
-
Type:
System.Type
The type to which items in the collection are being converted.
Return Value
Type: System.Security.Principal.IdentityReferenceCollectionA 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
Available since 2.0
Show: