Returns a synchronized (thread-safe) wrapper for the specified NameValueCollection.

Namespace: CodeSmith.CustomProperties
Assembly: CodeSmith.CustomProperties (in CodeSmith.CustomProperties.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public static NameValueCollection Synchronized(
	NameValueCollection collection
)
Visual Basic
Public Shared Function Synchronized ( 
	collection As NameValueCollection
) As NameValueCollection

Return Value

Type: NameValueCollection
A synchronized (thread-safe) wrapper around collection.

Remarks

Please refer to Synchronized(IList) for details.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptioncollection is a null reference.

See Also