XamlDirect.SetDateTimeProperty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the value of a DateTimeOffset property for a specific IXamlDirectObject.
public:
virtual void SetDateTimeProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex, DateTime value) = SetDateTimeProperty;
void SetDateTimeProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, DateTime const& value);
public void SetDateTimeProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, System.DateTimeOffset value);
function setDateTimeProperty(xamlDirectObject, propertyIndex, value)
Public Sub SetDateTimeProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As DateTimeOffset)
Parameters
- xamlDirectObject
- IXamlDirectObject
A reference to the specific IXamlDirectObject.
- propertyIndex
- XamlPropertyIndex
A reference to the DateTimeOffset property to set the value of from the list of supported properties in XamlPropertyIndex enum.
- value
- DateTime DateTimeOffset
DateTimeOffset value to set to the specified property.