Preferences.Set 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
Set(String, Int64, String) |
지정된 키에 대한 값을 설정합니다. |
Set(String, Int32, String) |
지정된 키에 대한 값을 설정합니다. |
Set(String, Double, String) |
지정된 키에 대한 값을 설정합니다. |
Set(String, DateTime, String) |
지정된 키에 대한 값을 설정합니다. |
Set(String, Boolean, String) |
지정된 키에 대한 값을 설정합니다. |
Set(String, String) |
지정된 키에 대한 값을 설정합니다. |
Set(String, Double) |
지정된 키에 대한 값을 설정합니다. |
Set(String, Int64) |
지정된 키에 대한 값을 설정합니다. |
Set(String, Int32) |
지정된 키에 대한 값을 설정합니다. |
Set(String, DateTime) |
지정된 키에 대한 값을 설정합니다. |
Set(String, Boolean) |
지정된 키에 대한 값을 설정합니다. |
Set(String, Single, String) |
지정된 키에 대한 값을 설정합니다. |
Set(String, Single) |
지정된 키에 대한 값을 설정합니다. |
Set(String, String, String) |
지정된 키에 대한 값을 설정합니다. |
Set(String, Int64, String)
지정된 키에 대한 값을 설정합니다.
public:
static void Set(System::String ^ key, long value, System::String ^ sharedName);
public static void Set (string key, long value, string? sharedName);
static member Set : string * int64 * string -> unit
Public Shared Sub Set (key As String, value As Long, sharedName As String)
매개 변수
- key
- String
기본 설정 키입니다.
- value
- Int64
기본 설정 값입니다.
- sharedName
- String
공유 컨테이너 이름입니다.
적용 대상
Set(String, Int32, String)
지정된 키에 대한 값을 설정합니다.
public:
static void Set(System::String ^ key, int value, System::String ^ sharedName);
public static void Set (string key, int value, string? sharedName);
static member Set : string * int * string -> unit
Public Shared Sub Set (key As String, value As Integer, sharedName As String)
매개 변수
- key
- String
기본 설정 키입니다.
- value
- Int32
기본 설정 값입니다.
- sharedName
- String
공유 컨테이너 이름입니다.
적용 대상
Set(String, Double, String)
지정된 키에 대한 값을 설정합니다.
public:
static void Set(System::String ^ key, double value, System::String ^ sharedName);
public static void Set (string key, double value, string? sharedName);
static member Set : string * double * string -> unit
Public Shared Sub Set (key As String, value As Double, sharedName As String)
매개 변수
- key
- String
기본 설정 키입니다.
- value
- Double
기본 설정 값입니다.
- sharedName
- String
공유 컨테이너 이름입니다.
적용 대상
Set(String, DateTime, String)
지정된 키에 대한 값을 설정합니다.
public:
static void Set(System::String ^ key, DateTime value, System::String ^ sharedName);
public static void Set (string key, DateTime value, string? sharedName);
static member Set : string * DateTime * string -> unit
Public Shared Sub Set (key As String, value As DateTime, sharedName As String)
매개 변수
- key
- String
기본 설정 키입니다.
- value
- DateTime
기본 설정 값입니다.
- sharedName
- String
공유 컨테이너 이름입니다.
적용 대상
Set(String, Boolean, String)
지정된 키에 대한 값을 설정합니다.
public:
static void Set(System::String ^ key, bool value, System::String ^ sharedName);
public static void Set (string key, bool value, string? sharedName);
static member Set : string * bool * string -> unit
Public Shared Sub Set (key As String, value As Boolean, sharedName As String)
매개 변수
- key
- String
기본 설정 키입니다.
- value
- Boolean
기본 설정 값입니다.
- sharedName
- String
공유 컨테이너 이름입니다.
적용 대상
Set(String, String)
지정된 키에 대한 값을 설정합니다.
public:
static void Set(System::String ^ key, System::String ^ value);
public static void Set (string key, string? value);
static member Set : string * string -> unit
Public Shared Sub Set (key As String, value As String)
매개 변수
- key
- String
값을 설정할 키입니다.
- value
- String
설정할 값입니다.
적용 대상
Set(String, Double)
Set(String, Int64)
Set(String, Int32)
Set(String, DateTime)
지정된 키에 대한 값을 설정합니다.
public:
static void Set(System::String ^ key, DateTime value);
public static void Set (string key, DateTime value);
static member Set : string * DateTime -> unit
Public Shared Sub Set (key As String, value As DateTime)
매개 변수
- key
- String
기본 설정 키입니다.
- value
- DateTime
기본 설정 값입니다.
적용 대상
Set(String, Boolean)
Set(String, Single, String)
지정된 키에 대한 값을 설정합니다.
public:
static void Set(System::String ^ key, float value, System::String ^ sharedName);
public static void Set (string key, float value, string? sharedName);
static member Set : string * single * string -> unit
Public Shared Sub Set (key As String, value As Single, sharedName As String)
매개 변수
- key
- String
기본 설정 키입니다.
- value
- Single
기본 설정 값입니다.
- sharedName
- String
공유 컨테이너 이름입니다.
적용 대상
Set(String, Single)
Set(String, String, String)
지정된 키에 대한 값을 설정합니다.
public:
static void Set(System::String ^ key, System::String ^ value, System::String ^ sharedName);
public static void Set (string key, string? value, string? sharedName);
static member Set : string * string * string -> unit
Public Shared Sub Set (key As String, value As String, sharedName As String)
매개 변수
- key
- String
기본 설정 키입니다.
- value
- String
기본 설정 값입니다.
- sharedName
- String
공유 컨테이너 이름입니다.
적용 대상
.NET MAUI
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기