Share via


BinaryResource.FileUri Property

Gets a local file path of the stream.

Namespace:  Microsoft.Windows.Design.Services
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property FileUri As Uri
    Get
public abstract Uri FileUri { get; }
public:
virtual property Uri^ FileUri {
    Uri^ get () abstract;
}
abstract FileUri : Uri
abstract function get FileUri () : Uri

Property Value

Type: System.Uri
A Uri that represents a local file path of the stream; or nulla null reference (Nothing in Visual Basic) if the stream cannot be referenced as a local file.

Remarks

The FileUri property may return a valid file URI even if the resource itself is not valid. Therefore, you should check the IsResourceValid property or call the OpenStream method to verify a valid resource.

.NET Framework Security

See Also

Reference

BinaryResource Class

Microsoft.Windows.Design.Services Namespace