PropertyItem.Type Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets an integer that defines the type of data contained in the Value property.
public:
property short Type { short get(); void set(short value); };
public short Type { get; set; }
member this.Type : int16 with get, set
Public Property Type As Short
Property Value
An integer that defines the type of data contained in Value.
Remarks
The following table shows integers and the types they represent.
Integer | Represented Type |
---|---|
1 | Specifies that Value is an array of bytes. |
2 | Specifies that Value is a null-terminated ASCII string. If you set the type data member to ASCII type, you should set the Len property to the length of the string including the null terminator. For example, the string "Hello" would have a length of 6. |
3 | Specifies that Value is an array of unsigned short (16-bit) integers. |
4 | Specifies that Value is an array of unsigned long (32-bit) integers. |
5 | Specifies that Value data member is an array of pairs of unsigned long integers. Each pair represents a fraction; the first integer is the numerator and the second integer is the denominator. |
6 | Specifies that Value is an array of bytes that can hold values of any data type. |
7 | Specifies that Value is an array of signed long (32-bit) integers. |
10 | Specifies that Value is an array of pairs of signed long integers. Each pair represents a fraction; the first integer is the numerator and the second integer is the denominator. |
For more information about property tags, see Image Property Tag Constants.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET