X509ExtensionCollectionExtensionsDuplicate Method
Namespace: SysadminsLV.PKI.Cryptography.X509CertificatesAssembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
public static X509ExtensionCollection Duplicate(
this X509ExtensionCollection extensions
)
<ExtensionAttribute>
Public Shared Function Duplicate (
extensions As X509ExtensionCollection
) As X509ExtensionCollection
public:
[ExtensionAttribute]
static X509ExtensionCollection^ Duplicate(
X509ExtensionCollection^ extensions
)
[<ExtensionAttribute>]
static member Duplicate :
extensions : X509ExtensionCollection -> X509ExtensionCollection
- extensions X509ExtensionCollection
- Source collection.
X509ExtensionCollection
A copy of source collection. Source and destination collections will hold same references to collection elements.
In Visual Basic and C#, you can call this method as an instance method on any object of type
X509ExtensionCollection. 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).