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 nouvelle instance KeyTime en initialisant la valeur de la propriété KeyTimeType en fonction 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 instance KeyTime, avec valeur initialisée sur timeSpan.