Deployment Tools Foundation
Explicit Operator
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Resources ► ResourceType ► Explicit(ResourceType)
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
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.