Resource Constructor (type, name, locale, data)

Microsoft Deployment Tools

Deployment Tools Foundation Resource Constructor (type, name, locale, data)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.ResourcesResourceResource(ResourceType, String, Int32, array<Byte>[]()[])
Creates a new Resource object with data. The data can be later saved to a file.
Declaration Syntax
C# Visual Basic Visual C++
public Resource(
	ResourceType type,
	string name,
	int locale,
	byte[] data
)
Public Sub New ( _
	type As ResourceType, _
	name As String, _
	locale As Integer, _
	data As Byte() _
)
public:
Resource(
	ResourceType^ type, 
	String^ name, 
	int locale, 
	array<unsigned char>^ data
)
Parameters
type (ResourceType)
Type of the resource; may be one of the ResourceType constants or a user-defined type.
name (String)
Name of the resource. For a numeric resource identifier, prefix the decimal number with a "#".
locale (Int32)
Locale of the resource
data (array< Byte >[]()[])
Raw resource data

Assembly: Microsoft.Deployment.Resources (Module: Microsoft.Deployment.Resources) Version: 3.0.0.0 (3.5.1623.0)