Skip to content

Reference

OpcSecurityPolicyCollection Class

Represents a collection of the security policies of endpoints (see EndpointPolicies).

Reference

OpcSecurityPolicyCollection Class ​

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcSecurityPolicyCollection Members

Represents a collection of the security policies of endpoints (see EndpointPolicies).

Syntax ​

csharp
public class OpcSecurityPolicyCollection
vbnet
Public Class OpcSecurityPolicyCollection

Inheritance ​

Object → OpcSecurityPolicyCollection

Implements ​

Remarks ​

The collection compares the security policies by instance: Contains, IndexOf and Remove find a policy only if it has been added to the collection or obtained from it, not an equal policy created separately.

Constructors ​

NameDescription
OpcSecurityPolicyCollectionsince v2.6Initializes a new instance of the OpcSecurityPolicyCollection class, which is empty.

Properties ​

NameDescription
CountGets the number of security policies in the collection.
IsReadOnlyGets a value indicating whether the collection is read-only.

Methods ​

NameDescription
AddAdds the security policy specified to the end of the collection.
ClearRemoves all security policies from the collection.
ContainsDetermines whether the collection contains the security policy specified.
CopyToCopies the security policies of the collection to the array specified, starting at the arrayIndex specified.
GetEnumeratorReturns an enumerator that iterates through the security policies of the collection.
IndexOfDetermines the index of the security policy specified in the collection.
InsertInserts the security policy specified at the index specified.
RemoveRemoves the security policy specified from the collection.
RemoveAtRemoves the security policy at the index specified.

Indexers ​

NameDescription
ItemGets or sets the security policy at the index specified.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.5–v2.59