IVsSettingsStore.GetUnsignedInt64OrDefault 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回给定默认值的64位无符号长整型值属性。
public:
int GetUnsignedInt64OrDefault(System::String ^ collectionPath, System::String ^ propertyName, System::UInt64 defaultValue, [Runtime::InteropServices::Out] System::UInt64 % value);
int GetUnsignedInt64OrDefault(std::wstring const & collectionPath, std::wstring const & propertyName, unsigned long defaultValue, [Runtime::InteropServices::Out] unsigned long & value);
public int GetUnsignedInt64OrDefault (string collectionPath, string propertyName, ulong defaultValue, out ulong value);
abstract member GetUnsignedInt64OrDefault : string * string * uint64 * -> int
Public Function GetUnsignedInt64OrDefault (collectionPath As String, propertyName As String, defaultValue As ULong, ByRef value As ULong) As Integer
参数
- collectionPath
- String
中集合的路径。
- propertyName
- String
中属性名称。
- defaultValue
- UInt64
中如果未设置该属性,则返回默认值。
- value
- UInt64
弄值。
返回
如果 S_OK 返回属性,则返回; 如果属性不存在,则返回; S_FALSE E_INVALIDARG 如果属性类型不是无符号长整数,则返回。