Resource Constructor (type, name, locale)

DTF API

Copy image CopyHover image
Deployment Tools Foundation Resource Constructor (type, name, locale)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.ResourcesResourceResource(ResourceType, String, Int32)
Creates a new Resource object without any data. The data can be later loaded from a file.
Declaration Syntax
C# Visual Basic Visual C++ F#
public Resource(
	ResourceType type,
	string name,
	int locale
)
Public Sub New ( 
	type As ResourceType,
	name As String,
	locale As Integer
)
public:
Resource(
	ResourceType^ type, 
	String^ name, 
	int locale
)
new : 
        type : ResourceType * 
        name : string * 
        locale : int -> Resource
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

Assembly: Microsoft.Deployment.Resources (Module: Microsoft.Deployment.Resources.dll) Version: 3.0.0.0 (3.11.1.2318)