Пример #1
0
        public async Task <bool> loadVideoProps()
        {
            if (String.IsNullOrEmpty(this.fileInfo.FullName))
            {
                return(false);
            }

            StorageFile file = await StorageFile.GetFileFromPathAsync(this.fileInfo.FullName);

            Windows.Storage.FileProperties.VideoProperties videoProperties = await file.Properties.GetVideoPropertiesAsync();

            Windows.UI.Xaml.Duration videoDuration = videoProperties.Duration;
            this.duration = videoDuration.ToString();
            return(true);
        }
Пример #2
0
 public bool Equals(Windows.UI.Xaml.Duration duration)
 {
     throw null;
 }
Пример #3
0
 public static int Compare(Windows.UI.Xaml.Duration t1, Windows.UI.Xaml.Duration t2)
 {
     throw null;
 }
Пример #4
0
 public Windows.UI.Xaml.Duration Add(Windows.UI.Xaml.Duration duration)
 {
     throw null;
 }
Пример #5
0
 public Windows.UI.Xaml.Duration Subtract(Windows.UI.Xaml.Duration duration)
 {
     throw null;
 }
Пример #6
0
 public static bool Equals(Windows.UI.Xaml.Duration t1, Windows.UI.Xaml.Duration t2)
 {
     throw null;
 }