Share via


IVSSItem.Encoding Property 

Gets or sets a value indicating encoding type of a file.

Namespace: Microsoft.VisualStudio.SourceSafe.Interop
Assembly: Microsoft.VisualStudio.SourceSafe.Interop (in microsoft.visualstudio.sourcesafe.interop.dll)

Syntax

'Declaration
Property Encoding As VSSItemEncoding
'Usage
Dim instance As IVSSItem
Dim value As VSSItemEncoding

value = instance.Encoding

instance.Encoding = value
VSSItemEncoding Encoding { get; set; }
property VSSItemEncoding Encoding {
    VSSItemEncoding get ();
    void set ([InAttribute] VSSItemEncoding pItemEncoding);
}
/** @property */
VSSItemEncoding get_Encoding ()

/** @property */
void set_Encoding (/** @attribute InAttribute() */ VSSItemEncoding pItemEncoding)
function get Encoding () : VSSItemEncoding

function set Encoding (pItemEncoding : VSSItemEncoding)

Property Value

A value indicating encoding type of a file.

Remarks

[IDL]

HRESULT Encoding([out, retval] VSSItemEncoding* pItemEncoding);

HRESULT Encoding([in] VSSItemEncoding ItemEncoding);

Encoding types:

Encoding

Value

ANSI

VSSENCODING_ANSI

BINARY

VSSENCODING_BINARY

UNICODE

VSSENCODING_UNICODE

UNICODE_BIG_ENDIAN

VSSENCODING_UNICODE_BIG_ENDIAN

UNICODE_UTF8

VSSENCODING_UNICODE_UTF8

See Also

Reference

IVSSItem Interface
IVSSItem Members
Microsoft.VisualStudio.SourceSafe.Interop Namespace