Share via


IVSSItem.AutoDetectEncoding Property 

Gets or sets a value indicating an autodetection encoding of a file.

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

Syntax

'Declaration
Property AutoDetectEncoding As Boolean
'Usage
Dim instance As IVSSItem
Dim value As Boolean

value = instance.AutoDetectEncoding

instance.AutoDetectEncoding = value
bool AutoDetectEncoding { get; set; }
property bool AutoDetectEncoding {
    bool get ();
    void set ([InAttribute] bool pbAutoDetectEncoding);
}
/** @property */
boolean get_AutoDetectEncoding ()

/** @property */
void set_AutoDetectEncoding (/** @attribute InAttribute() */ boolean pbAutoDetectEncoding)
function get AutoDetectEncoding () : boolean

function set AutoDetectEncoding (pbAutoDetectEncoding : boolean)

Property Value

true if autodetection encoding is enabled, otherwise false.

Remarks

[IDL]

HRESULT AutoDetectEncoding([out, retval] boolean *pbAutoDetectEncoding);

HRESULT AutoDetectEncoding([in] boolean bAutoDetectEncoding);

The AutoDetectEncoding property indicates whether SourceSafe tries to detect the encoding of a file before check in.

See Also

Reference

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