SetGraphHistoryValue() public method

public SetGraphHistoryValue ( String graphHistoryKey, String graphHistoryValue ) : void
graphHistoryKey String
graphHistoryValue String
return void
Exemplo n.º 1
0
        UpdateGraphHistoryAfterImportWithoutPermissionCheck
        (
            Microsoft.Office.Interop.Excel.Workbook destinationNodeXLWorkbook,
            String importDescription,
            String suggestedTitle,
            String suggestedFileNameNoExtension,
            PerWorkbookSettings perWorkbookSettings
        )
        {
            Debug.Assert(destinationNodeXLWorkbook != null);
            Debug.Assert(perWorkbookSettings != null);

            perWorkbookSettings.SetGraphHistoryValue(
                GraphHistoryKeys.ImportDescription,
                importDescription ?? String.Empty);

            perWorkbookSettings.SetGraphHistoryValue(
                GraphHistoryKeys.ImportSuggestedTitle,
                suggestedTitle ?? String.Empty);

            perWorkbookSettings.SetGraphHistoryValue(
                GraphHistoryKeys.ImportSuggestedFileNameNoExtension,
                suggestedFileNameNoExtension ?? String.Empty);
        }
Exemplo n.º 2
0
    UpdateGraphHistoryAfterImportWithoutPermissionCheck
    (
        Microsoft.Office.Interop.Excel.Workbook destinationNodeXLWorkbook,
        String importDescription,
        String suggestedFileNameNoExtension,
        PerWorkbookSettings perWorkbookSettings
    )
    {
        Debug.Assert(destinationNodeXLWorkbook != null);
        Debug.Assert(perWorkbookSettings != null);

        perWorkbookSettings.SetGraphHistoryValue(
            GraphHistoryKeys.ImportDescription,
            importDescription ?? String.Empty);

        perWorkbookSettings.SetGraphHistoryValue(
            GraphHistoryKeys.ImportSuggestedFileNameNoExtension,
            suggestedFileNameNoExtension ?? String.Empty);
    }