Share via


BinaryResource.IsResourceValid Property

Gets a value that indicates whether opening this resource is a valid operation.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property IsResourceValid As Boolean
    Get
public abstract bool IsResourceValid { get; }
public:
virtual property bool IsResourceValid {
    bool get () abstract;
}
abstract IsResourceValid : bool
abstract function get IsResourceValid () : boolean

Property Value

Type: System.Boolean
true if opening this resource is a valid operation; otherwise, false.

Remarks

If the IsResourceValid property returns false, call the OpenStream method to raise an exception that indicates why the resource cannot be opened.

.NET Framework Security

See Also

Reference

BinaryResource Class

Microsoft.Windows.Design.Services Namespace