Dela via


IQueryPropertyItem.TimeSpanValue Property

Gets or sets a time span value.

Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

'Usage
Dim instance As IQueryPropertyItem
Dim value As TimeSpan

value = instance.TimeSpanValue

instance.TimeSpanValue = value

Syntax

'Declaration
Property TimeSpanValue As TimeSpan
TimeSpan TimeSpanValue { get; set; }
property TimeSpan TimeSpanValue {
    TimeSpan get ();
    void set (TimeSpan value);
}
/** @property */
TimeSpan get_TimeSpanValue ()

/** @property */
void set_TimeSpanValue (TimeSpan value)
function get TimeSpanValue () : TimeSpan

function set TimeSpanValue (value : TimeSpan)

Property Value

A System.TimeSpan value representing the time span.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

IQueryPropertyItem Interface
IQueryPropertyItem Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace