![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Deployment Tools Foundation
Explicit Operator
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Resources ► ResourceType ► ExplicitNarrowingExplicitExplicitExplicit(ResourceType to String)
Explicitly converts a ResourceType to a string.
![](collapse_all.gif)
C# | Visual Basic | Visual C++ | F# |
public static explicit operator string ( ResourceType resourceType )
Public Shared Narrowing Operator CType ( resourceType As ResourceType ) As String
static explicit operator String^ ( ResourceType^ resourceType )
F# does not support the declaration of new casting operators.
![](collapse_all.gif)
- resourceType (ResourceType)
- ResourceType object to convert.
![](collapse_all.gif)
String
The resource type string.
The resource type string.
![](collapse_all.gif)
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.11.1.2318)