RemoteArgument::DateTimeValue Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the DateTime that the RemoteArgument represents.

Namespace:   System.AddIn.Contract
Assembly:  System.AddIn.Contract (in System.AddIn.Contract.dll)

public:
property DateTime DateTimeValue {
	DateTime get();
	void set(DateTime value);
}

Property Value

Type: System::DateTime

The DateTime that the RemoteArgument represents; MinValue if the value of the RemoteArgument has not yet been specified.

Exception Condition
InvalidOperationException

The RemoteArgumentKind property is not set to the Intrinsic value.

-or-

The TypeCode property is not set to the TypeCode::DateTime value.

-or-

This property is set while the IsByRef property is false.

.NET Framework
Available since 3.5
Return to top
Show: