掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
ZipPackageクラスの使い方は? (ID:146080)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
Hongliangさん、ありがとうございます。 とりあえずは、普通に作成したzipファイルをこれで解凍することはないので今は問題ありません。 80575561さん、ありがとうございます。 C#のサンプルで、PackageRelationshipTypeとResourceRelationshipTypeという定数があるのですが、これの意味がわかりません。 private const string PackageRelationshipType = @"http://schemas.microsoft.com/opc/2006/sample/document"; private const string ResourceRelationshipType = @"http://schemas.microsoft.com/opc/2006/sample/required-resource"; (途中略) package.CreateRelationship(packagePartDocument.Uri, TargetMode.Internal, PackageRelationshipType); (途中略) packagePartDocument.CreateRelationship( new Uri(@"../resources/image1.jpg", UriKind.Relative), TargetMode.Internal, ResourceRelationshipType); これは何を意味しているのでしょうか?
←解決時は質問者本人がここをチェックしてください。
更新する
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.