Explicit Operator

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation Explicit Operator
Deployment Tools Foundation NamespacesMicrosoft.Deployment.ResourcesResourceTypeExplicitNarrowingExplicitExplicitExplicit(ResourceType to String)
Explicitly converts a ResourceType to a string.
Declaration Syntax
C# Visual Basic Visual C++
public static explicit operator string (
	ResourceType resourceType
)
Public Shared Narrowing Operator CType ( 
	resourceType As ResourceType
) As String
static explicit operator String^ (
	ResourceType^ resourceType
)
Parameters
resourceType (ResourceType)
ResourceType object to convert.
Return Value
String
The resource type string.
Remarks
Unlike ToString()()()(), this conversion does not return the common name of well-known integer resource types. Therefore, the returned string is suitable for passing directly to Win32 resource APIs that accept resource type strings.

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