문제

In an OpenFileDialog, the user can enter the address of the SharePoint site and select a document in the document library. I need to provide check-in/check-out integration for SharePoint documents. Is there any way to determine if the file is stored in a SharePoint document library?

Thanks in advance!

도움이 되었습니까?

해결책

After the dialog returns, you can check the value of the selected file. If there's a value, they probably selected a file. You can validate that a file was actually selected by attempting to open the file.

Start here: http://msdn.microsoft.com/en-us/library/system.windows.forms.openfiledialog.aspx

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top