KeyTime.FromTimeSpan(TimeSpan) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée une KeyTime instance, avec la KeyTimeType propriété initialisée à la valeur du paramètre spécifié.
public:
static System::Windows::Media::Animation::KeyTime FromTimeSpan(TimeSpan timeSpan);
public static System.Windows.Media.Animation.KeyTime FromTimeSpan(TimeSpan timeSpan);
static member FromTimeSpan : TimeSpan -> System.Windows.Media.Animation.KeyTime
Public Shared Function FromTimeSpan (timeSpan As TimeSpan) As KeyTime
Paramètres
Retours
Nouvelle KeyTime instance, initialisée à la valeur de timeSpan.