ContentResolver.GetTypeInfo(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回给定 MIME 类型的详细说明,包括描述该类型的图标和标签。
[Android.Runtime.Register("getTypeInfo", "(Ljava/lang/String;)Landroid/content/ContentResolver$MimeTypeInfo;", "", ApiSince=29)]
public Android.Content.ContentResolver.MimeTypeInfo GetTypeInfo(string mimeType);
[<Android.Runtime.Register("getTypeInfo", "(Ljava/lang/String;)Landroid/content/ContentResolver$MimeTypeInfo;", "", ApiSince=29)>]
member this.GetTypeInfo : string -> Android.Content.ContentResolver.MimeTypeInfo
参数
- mimeType
- String
有效的具体 MIME 类型。
返回
此值不能为 null。
- 属性
注解
Java文档android.content.ContentResolver.getTypeInfo(java.lang.String)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。