ResourceSet Constructor (Stream^)

 

Creates a new instance of the ResourceSet class using the system default ResourceReader that reads resources from the given stream.

Namespace:   System.Resources
Assembly:  mscorlib (in mscorlib.dll)

public:
[SecurityCriticalAttribute]
ResourceSet(
	Stream^ stream
)

Parameters

stream
Type: System.IO::Stream^

The Stream of resources to be read. The stream should refer to an existing resources file.

Exception Condition
ArgumentException

The stream is not readable.

ArgumentNullException

The stream parameter is null.

SecurityPermission

for providing serialization services. Associated enumeration: SerializationFormatter Security action: LinkDemand

SecurityCriticalAttribute

requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: