MediaPlayer.SetFileSource(IStorageFile) 메서드

정의

미디어 원본을 파일로 설정합니다.

참고

MediaPlayer.SetFileSource는 Windows 10 후에 변경되거나 사용할 수 없습니다. 대신 MediaPlayer.Source 를 사용합니다.

public:
 virtual void SetFileSource(IStorageFile ^ file) = SetFileSource;
void SetFileSource(IStorageFile const& file);
/// [Windows.Foundation.Metadata.Deprecated("Use Source instead of SetFileSource.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.Foundation.UniversalApiContract")]
void SetFileSource(IStorageFile const& file);
public void SetFileSource(IStorageFile file);
[Windows.Foundation.Metadata.Deprecated("Use Source instead of SetFileSource.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.Foundation.UniversalApiContract")]
public void SetFileSource(IStorageFile file);
function setFileSource(file)
Public Sub SetFileSource (file As IStorageFile)

매개 변수

file
IStorageFile

미디어 원본 파일입니다.

특성

적용 대상