Represents an image, video, or document in a microblog post.
SocialAttachment 类型公开以下成员。
构造函数
| 名称 | 说明 | |
|---|---|---|
![]() |
SocialAttachment | Initializes a new instance of a SocialAttachment object. |
页首
属性
| 名称 | 说明 | |
|---|---|---|
![]() |
AttachmentKind | Gets or sets the type of attachment. |
![]() |
ClickAction | Gets or sets the action to perform on the click event. |
![]() |
ContentUri | Gets or sets the URI to the attachment file. |
![]() |
Description | Gets or sets the attachment's description. |
![]() |
Height | Gets or sets the height of the attachment or its preview. |
![]() |
Length | Gets or sets the length of the attachment, in seconds. |
![]() |
Name | Gets or sets the attachment's name. |
![]() |
PreviewHeight | |
![]() |
PreviewUri | Gets or sets the URI for the attachment's preview image. |
![]() |
PreviewWidth | |
![]() |
TypeId | 此成员仅供内部使用,不能直接在您的代码中使用。 (覆盖 ClientValueObject.TypeId。) |
![]() |
Uri | Gets or sets the URI to the list item for the attachment. |
![]() |
Width | Gets or sets the width of the attachment or its preview. |
页首
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
CustomFromJson | 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientValueObject 继承。) |
![]() |
CustomWriteToXml | 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientValueObject 继承。) |
![]() |
FromJson | 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientValueObject 继承。) |
![]() |
InitOnePropertyFromJson | 此成员仅供内部使用,不能直接在您的代码中使用。 (覆盖 ClientValueObject.InitOnePropertyFromJson(String, JsonReader)。) |
![]() |
ToString | (从 Object 继承。) |
![]() |
WriteToXml | 此成员仅供内部使用,不能直接在您的代码中使用。 (覆盖 ClientValueObject.WriteToXml(XmlWriter, SerializationContext)。) |
页首
.gif)
.gif)
.gif)