부모글 보이기/감추기 What is the property system?; http://blogs.msdn.com/benkaras/archive/2006/08/28/729153.aspxVista 에 소개되는 새로운 기능이군요.다음 회에서는 사용예까지 보여준다고 하니 일단 대강 읽어보기만 해도 될 것 같습니다.WinFS 의 일부 기능을 지원한 듯도 보이고. AD BLOCK 해제 요청 이 글에는 광고가 많이 들어가 있지 않습니다. adblock을 해제하셔도 글을 읽는데 그다지 부담이 없으니 해제를 부탁드립니다. Property consumerism ; https://learn.microsoft.com/en-us/archive/blogs/benkaras/property-consumerism 약속대로 코드 예제를 공개했습니다. 별로 많은 내용이 아니니, 여기에 복사해 넣습니다. Reading properties is rather simple. First, bind to the item. SHCreateItemFromIDList and SHCreateItemFromParsingName are appropriate for this. Then read your properties. Be sure to clean up after yourself. IShellItem2 *psi;if (SUCCEEDED(SHCreateItemFromParsingName(L"c:\tortoise.doc", NULL, IID_IShellItem2, (void**)&psi))) { IPropertyStore *pps; if (SUCCEEDED(psi->GetPropertyStore(GPS_DEFAULT, IID_IPropertyStore, (void**)&pps))) { PROPVARIANT propvar = {0}; if (SUCCEEDED(pps->GetValue(PKEY_Title, &propvar))) { wprintf(L"Title: %s\n", PropVariantToStringWithDefault(propvar, L"")); PropVariantClear(&propvar); } pps->Release(); } psi->Release();} Not bad for reading the title of a document! And I even checked the return results. --- Constable Umer walked down the narrow flagstone path, then onto cobblestones and finally gravel stones. Turning a corner, Cons. Umer found a door with a small card pinned to next to it. "Great Flying Tortoise: Purveyor of fine, proper teas." [다음 글] Vista : 8. What is the property system?[이전 글] Vista : 8. The source of property types [최초 등록일: 10/20/2006] [최종 수정일: 4/26/2024] 비밀번호 댓글 작성자 2006-10-06 10시35분 Properties coding expedition #1 - Binding to an item ; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-1-binding-to-an-itemProperties coding expedition #2 - printing the IPropertyStore ; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-2-printing-the-ipropertystoreProperties coding expedition #3 - Printing a value ; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-3-printing-a-valueProperties coding expedition #4 - The output; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-4-the-outputProperties coding expedition #5 - Stripping characters; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-5-stripping-charactersProperties coding expedition #6 - Developer friendly output; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-6-developer-friendly-outputProperties coding expedition #7 - The final output; https://learn.microsoft.com/en-us/archive/blogs/benkaras/properties-coding-expedition-7-the-final-output kevin25 ... 31 32 33 34 35 36 37 38 39 40 41 42 43 44 [45] ... NoWriterDateCnt.TitleFile(s) 65정성태2/15/200512424Office 2003: XML Reference Schemas64정성태2/14/200513615MFC 및 ATL 컨트롤을 위한 서명된 CAB 파일 만들기63정성태2/15/200512018[CodeProject] Overriding MFC's Default Client Site to Implement IServiceProvider162정성태11/14/200512384간략 소개 - 64bit Windows61정성태1/29/200512435XP SP2 팝업창을 코드로 띄우는 것이 가능하군요. 60정성태1/28/200510614MSDN Chat : VS.NET 2005 Team System public chats159정성태1/27/200512902Error 1034. Error writing to file" when installing Visual Studio .NET 2005 CTP December 2004 - error code is 235057정성태1/17/200512248Microsoft .NET: Implement a Custom Common Language Runtime Host for Your Managed App156정성태1/12/200512602.NET Framework 2.0 설치 후, InfoPath 폼이 VS.NET 2003 에서 디버깅이 안되는 경우.55정성태1/10/200512736Management (WMI) Extensions for Visual Studio .NET 2003 Server Explorer54정성태1/11/200511971WSE 2.0 및 Sun JWSDP 1.4를 사용한 WS-Security 상호 운용성 76정성태3/10/200512422 [추가]: Web Services Security Interoperability using WSE 2.0 and Systinet Server 5.0 for Java94정성태5/12/200512217 [추가]: JWSDP 1.5 버전이 나왔군요.148정성태12/12/200510459 [추가]: WS-Security Interoperability with .NET/WSE and WebLogic Workshop 8.1153정성태1/6/200512822버퍼 오버런 해결!58정성태1/23/200513417 VS.NET 2005 : 새롭게 소개되는 버퍼 오버런 방지 CRT 함수들52정성태1/6/200511799Visual C# .NET Code Samples51정성태1/6/200511882Visual C++ .NET 2003 Code Samples50정성태1/6/200511895Visual Studio .NET 2003 Automation Samples49정성태1/3/2005117792005년 올 한 해 릴리스 될 MS 제품48정성태1/2/200512016.NET 2.0 : 연결 문자열 및 기타 .config 내용 암호화47정성태12/31/200412137뉴스그룹: Microsoft Whidbey Private 뉴스 그룹46정성태12/31/200411955MSDN Magazine: Comparing the Timer Classes in the .NET Framework Class Library45정성태12/31/200411435MSDN Magazine: Updating the UI from a Secondary Thread44정성태12/30/200413308NewSID : 사용자 계정의 보안 식별자를 변경해 주는 프로그램143정성태12/28/200411993VSMT 소개: Physical Server to Virtual Server ... 31 32 33 34 35 36 37 38 39 40 41 42 43 44 [45] ...