IShellPropertyExtensionsGetValueAsString Method
Gets the value of the specified IShellProperty as a normalized String.
Namespace: DevCase.ThirdParty.WindowsApiCodePack.Extensions.IShellPropertyExtensionsAssembly: DevCase.net48.ThirdParty.WindowsApiCodePack (in DevCase.net48.ThirdParty.WindowsApiCodePack.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static string GetValueAsString(
this IShellProperty sender
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function GetValueAsString (
sender As IShellProperty
) As String
Dim sender As IShellProperty
Dim returnValue As String
returnValue = sender.GetValueAsString()
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
static String^ GetValueAsString(
IShellProperty^ sender
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member GetValueAsString :
sender : IShellProperty -> string
No code example is currently available or this language may not be supported.
- sender IShellProperty
-
The source IShellProperty.
String
The resulting
StringIn Visual Basic and C#, you can call this method as an instance method on any object of type
IShellProperty. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
This is a code example.
No code example is currently available or this language may not be supported.
Dim img As ShellObject = ShellObject.FromParsingName("C:\Image.jpg")
Dim prop As IShellProperty = img.Properties.GetProperty(SystemProperties.System.Image.Dimensions)
Dim propValue As String = GetValueAsString(prop)
Console.WriteLine(propValue)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.