Condividi tramite


XamlDirect.SetDateTimeProperty Metodo

Definizione

Imposta il valore di una proprietà DateTimeOffset per un oggetto IXamlDirectObject specifico.

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)

Parametri

xamlDirectObject
IXamlDirectObject

Riferimento all'oggetto IXamlDirectObject specifico.

propertyIndex
XamlPropertyIndex

Riferimento alla proprietà DateTimeOffset per impostare il valore di dall'elenco delle proprietà supportate in XamlPropertyIndex enumerazione.

value
DateTime DateTimeOffset

Valore DateTimeOffset da impostare sulla proprietà specificata.

Si applica a

Vedi anche