OidCollectionExtensionsDuplicate Method

Gets a duplicate instance of OidCollection collection.

Definition

Namespace: SysadminsLV.PKI.Cryptography
Assemblies:  SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public static OidCollection Duplicate(
	this OidCollection oidCollection
)

Parameters

oidCollection  OidCollection
Source collection.

Return Value

OidCollection
A copy of source collection. Source and destination collections will hold same references to collection elements.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type OidCollection. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Exceptions

ArgumentNullExceptionoidCollection parameter is null.

See Also