OssUtilsIsObjectKeyValid Method |
判断文件名是否合法
Namespace: Aliyun.OSS.UtilAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.5.1.0 (2.5.1)
Syntaxpublic static bool IsObjectKeyValid(
string key
)
Public Shared Function IsObjectKeyValid (
key As String
) As Boolean
public:
static bool IsObjectKeyValid(
String^ key
)
static member IsObjectKeyValid :
key : string -> bool
Parameters
- key
- Type: SystemString
文件名称
Return Value
Type:
Boolean是否合法
See Also