Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Sets or updates the default value for the field referenced by the specified field token.
Syntax
HRESULT SetFieldProps (
[in] mdFieldDef fd,
[in] DWORD dwFieldFlags,
[in] DWORD dwCPlusTypeFlag,
[in] void const *pValue,
[in] ULONG cchValue
);
Parameters
fd
[in] The token for the target field.
dwFieldFlags
[in] Field attributes. This is a bitmask of CorFieldAttr values.
dwCPlusTypeFlag
[in] The ELEMENT_TYPE_* for the constant value. This is a CorElementType value. If a constant is not being defined, set this value to ELEMENT_TYPE_END.
pValue
[in] The constant value for the field.
cchValue
[in] The size, in Unicode characters, of pValue.
Requirements
Platforms: See .NET supported operating systems.
Header: Cor.h
Library: CorGuids.lib