IVsSettingsStore.GetInt64(String, String, Int64) 方法

定义

返回64位整数类型属性值。

public:
 int GetInt64(System::String ^ collectionPath, System::String ^ propertyName, [Runtime::InteropServices::Out] long % value);
int GetInt64(std::wstring const & collectionPath, std::wstring const & propertyName, [Runtime::InteropServices::Out] long & value);
public int GetInt64 (string collectionPath, string propertyName, out long value);
abstract member GetInt64 : string * string *  -> int
Public Function GetInt64 (collectionPath As String, propertyName As String, ByRef value As Long) As Integer

参数

collectionPath
String

中集合的路径。

propertyName
String

中属性名称。

value
Int64

弄值。

返回

Int32

如果 S_OK 返回属性,则返回; 如果属性不存在,则返回; S_FALSE E_INVALIDARG 如果属性类型不是64位整数,则返回。

注解

如果该属性存储为无符号值,则会在输出值上应用常规 c + + 类型强制转换语义。

适用于